Accentued characters support doesn't work.
[email protected] Sat, 1 Nov 2003 12:39:18 +0100
| Newsgroups | gmane.text.xml.jfor.devel |
|---|---|
| Message-ID | <[email protected]> |
--LtjKiLRbx/UivgqCrkS0tYrE/9iNamg21YcU9Axsi7I=
Content-Type: text/plain; charset="ISO-8859-1"
JFOR does not handsomely handle accentued characters such as
the french e acute or grave and so on...
This is because JFOR in the class RtfStringConverter assumes that
all Unicode chars from 0 to 255 can be translated to ansi 0-255.
This is false ASCII/ANSI charsets support characters ranging from 0
to 127. So the characters over 127 have to be escaped to unicode.
( As they are depending on the language chosen for the system...)
Please find an appropriate patch attached.
Regards,
Lucas Bruand
--LtjKiLRbx/UivgqCrkS0tYrE/9iNamg21YcU9Axsi7I=
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="accentuedchars.diff"
Content-Type: application/octet-stream; name="accentuedchars.diff"
PyBhY2NlbnR1ZWRjaGFycy5kaWZmCkluZGV4OiBzcmMvb3JnL2pmb3IvamZvci9ydGZsaWIvcnRmZG9jL1J0ZlN0cmluZ0Nv
bnZlcnRlci5qYXZhCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT0KUkNTIGZpbGU6IC9jdnNyb290L2pmb3IvamZvci9zcmMvb3JnL2pmb3IvamZvci9ydGZsaWIvcnRmZG9jL1J0
ZlN0cmluZ0NvbnZlcnRlci5qYXZhLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjUKZGlmZiAtcjEuNSBSdGZTdHJpbmdDb252
ZXJ0ZXIuamF2YQoxNDJjMTQyCjwgICAgICAgICAgICAgfSBlbHNlIGlmIChjLmNoYXJWYWx1ZSgpID4gMjU1KSB7Ci0tLQo+
ICAgICAgICAgICAgIH0gZWxzZSBpZiAoYy5jaGFyVmFsdWUoKSA+IDEyNykgewo=
--LtjKiLRbx/UivgqCrkS0tYrE/9iNamg21YcU9Axsi7I=--
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/