Forums / Developer / Webdav upload + unicode = bug ? / Comment43782
Oree Eyo
Friday 05 August 2005 2:39:22 am
I'll give it a try but I'm not sure that "Sniffing" http traffic would say something, The problem is somewhere inside the informathion proccess. The following pice of code won't store data as unicode if webdav is calling it, regardless of what you upload.
$utf8text = "NON ENGLISH UNICODE TEXT"; $dataMap[$bodyAttribute]->setAttribute( 'data_text' $utf8text); $dataMap[$bodyAttribute]->store();
As you can see, the unicode text is inside the code.
HTTPCharset is set to utf-8 in i18n.ini
[CharacterSettings] Charset=utf-8 HTTPCharset=utf-8 MBStringExtension=enabled
Maybe it doesn't apply to webdav. I wonder if there's a "WEBDAVCharset=xyz". all tough webdav is on-top http so it should be the same.gonna do that bug-report later on.
regards.