Tuesday, 9 November 2004
Fix for Apache XML-RPC library to handle international characters
« Posting via XML-RPC with Iñtërnâtiônàlizætiøn | Main | Let's try これは日本語のテキストです。読めますか?with XML-RPC »Unfortunately the current release (1.2-b1) of the Apache XML-RPC library has some issues with handling international characters on the way in and on the way out. In short, reading and writing international characters is b0rk3d. I've patched the library for use with blojsom and if you click this link, you'll see it works just fine. I guess I can't prove I wrote that entry using the fantabulous ecto, but you'll have to take my word for it.
The patched version makes the following modifications.
- UTF-8 is the global default.
- Reading is done using an InputStreamReader using UTF-8.
- XmlWriter uses UTF-8 and handles international characters properly.
You can download the patched version here.
Posted by at 10:10 PM in java ... just java
[Trackback URL for this entry]
