Hi guys:
I meet a situation, and i don't know why it happens.The situation is
that i want to use chinese words in advertisement , so i set Advertisement's
MimeMediaType= MimeMediaType.XMLUTF8, and then i add some tag with chinses
words value into the advertisement.
In the source peer who make this advertisement ,i get document by method
getDocuement(MimeMediaType.XMLUTF8) before publish , the content of
advertisement is correctly,
But in the remote peer who get this advertisement by searching, something
wrong, this peer still use the same method and parameter to get document ,
but the content of advertisement with a litte different , the enlgish words
is still presented correctly , but chinese words isn't .
So, the question is that i am sure that xml with encode sett = utf8 is
suitable for using chinese words,so I use the chinese words in xml tag.
Although I set xml encode = XMLUTF8, but errors still happened, It seems
that the receive peer use the wrong way to decode and parse this
advertisement. ( but actually remote peer use the same way with source peer)
Also , i try the encode setting with XML_DEFAULTENCODING , the problem is
the same! , does anyone know how to solve this problem ?
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.