Re-Hi,
Here is a very good tool to play with character encoding... 
http://www.babelstone.co.uk/Software/BabelPad.html

Pascal

> -----Message d'origine-----
> De : Pascal Sancho 
> Envoyé : mardi 8 juillet 2008 15:47
> 
> Hi Rakesh,
> 
> In a well-formed xml, you may use any encoding you want.
> If your text nodes contains characters that are not part of 
> the encoding pattern, then you have to use character entities.
> 
> To choose the character encoding, you should consider:
>  - environment (what encoding is supported by your 
> system/your applications)
>  - human readable (not easy when there is too many character encoding)
>  - file size:
>     a US text in UTF-8 or US-ASCII is about 1 byte-per-char
>     an asian text can be:
>       - about 3 or 4 byte-per-char in UTF-8
>       - about 2 byte-per-char in UTF-16
>       - about 8 byte-per-char in US-ASCII (using characters 
> entities, like 豈
> 
> In your case, I think the best choice should be UTF-16.
> 
> See http://en.wikipedia.org/wiki/Character_encoding.
> 
> Note that XML rec [1] says that All XML processors must 
> accept the UTF-8 and UTF-16 encodings.
> 
> [1] http://www.w3.org/TR/2000/REC-xml-20001006#charsets
> 
> HTH,
> 
> Pascal
> 
> 
> > -----Message d'origine-----
> > De : Rakesh Kumar S [mailto:[EMAIL PROTECTED] 
> > Envoyé : mardi 8 juillet 2008 14:03
> > 
> > Hi,
> > 
> > Which is the encoding format that will support both asian 
> language and
> > western fonts?
> > 
> > Thanks,
> > Rakesh Kumar S
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to