You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have problems with media files witch have German umlauts like äüöÄÜÖß inside.
These files were displayed at the clients as character garbage. Anything else seems to work as expected.
I already added attached escaping function to soap.cpp. The umlauts are now shown correctly at the client, but a dot "." is inserted in front of any umlaut like ".ä" or ".Ü" .
Do you have any idea where the dots come from or what to modify in addition?
changes in soap.cpp:
` inline void add_esc_char(int ch,std::string& s)
{
switch(ch)
{
case '<': s.append("<",4); break;
case '>': s.append(">",4); break;
case '&': s.append("&",5); break;
case '"': s.append(""",6); break;
case ''': s.append("'",6); break;
case 0x84: s.append("Ä",6); break;
case 0x96: s.append("Ö",6); break;
case 0x9c: s.append("Ü",6); break;
case 0xa4: s.append("ä",6); break;
case 0xb6: s.append("ö",6); break;
case 0xbc: s.append("ü",6); break;
case 0x9f: s.append("ß",6); break;
default: s+=ch; break;
}
}
I have problems with media files witch have German umlauts like äüöÄÜÖß inside.
These files were displayed at the clients as character garbage. Anything else seems to work as expected.
I already added attached escaping function to soap.cpp. The umlauts are now shown correctly at the client, but a dot "." is inserted in front of any umlaut like ".ä" or ".Ü" .
Do you have any idea where the dots come from or what to modify in addition?
changes in soap.cpp:
` inline void add_esc_char(int ch,std::string& s)
{
switch(ch)
{
case '<': s.append("<",4); break;
case '>': s.append(">",4); break;
case '&': s.append("&",5); break;
case '"': s.append(""",6); break;
case ''': s.append("'",6); break;
case 0x84: s.append("Ä",6); break;
case 0x96: s.append("Ö",6); break;
case 0x9c: s.append("Ü",6); break;
case 0xa4: s.append("ä",6); break;
case 0xb6: s.append("ö",6); break;
case 0xbc: s.append("ü",6); break;
case 0x9f: s.append("ß",6); break;
default: s+=ch; break;
}
}
`
The text was updated successfully, but these errors were encountered: