httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: How do I handle Unicode inside XML request bits?
Date Mon, 12 Sep 2005 10:46:08 GMT
On Sun, Sep 11, 2005 at 05:13:54PM -0700, Brandon Fosdick wrote:
...
> The litmus test fails with the message:
>
> 18. propget............... FAIL (Property 
> {http://webdav.org/neon/litmus/}high-unicode had value ????, expected 
> 𐀀)
> 
> Apparently the original text ("&#65536") from the request is getting 
> parsed into something that isn't useable. Is there some way to just 
> read the orginal text and store that? What's the proper way to handle 
> unicode characters?

The &#65536; character will be passed through in its four byte UTF-8 
form (which is 0xf4 0x80 0x80 0x80 I think); are you storing the 
property values in the database in a UTF-8-safe field?  Problems with 
this test are typically that some character conversion happens under 
your feet or simply that the data store isn't 8-bit-safe.

Regards,

joe

Mime
View raw message