[JDEV] about encoding
Jau-Lung Huang
dbl at 5dwap.com
Fri Mar 9 13:39:52 CST 2001
> Practically encoding all the session in UTF8 is what makes the most sense,
> you don't have to infringe the XML specification, you stay within reasonable
> bounds, all parsers are supposed to handle UTF8 and this doesn't add an
> extra penalty for all the protocol related messages like UTF16, and ensure
> cheaper processing on the servers (not to be neglected !).
Hi...
Thanks your detail explanation to let me learn much
But I think that you missunderstand my problem ;)
now I use utf8 to encoding the big5 chinese message in xml stream.
like this:
send out encoding
big5 message -> utf-8 encoding -> format to xml
get in decoding
xml -> utf-8 decoding -> big5 message
this way work fine
but i think whether i can express what the original native encoding is
before doing utf-8 encoding process in xml.
like example above , is there any way to express that its original
encoding is BIG5
I ever think that use unicode to solve the multilingual problem
But I found that some environment still didn't support unicode.
so I hope find a way to express the message's original encoding to mix
the usage of unicode and other native language encoding.
welcome your suggestion and comment
Thanks you anyway.
Jau Lung Huang
More information about the JDev
mailing list