how to use unicode in xml
please tell me how to 开发者_如何学Gouse language like "HINDI" in xml.
my current xml is like:
<?xml version="1.0" encoding="utf-8" ?>
<costs>
<cost>text in hindi</cost>
</costs>
Thanks
Pick a character encoding (UTF-8 is the default for XML) that includes the characters you wish to use (UTF-8 covers pretty much everything, including everything you need for Hindi).
Then just use it.
You may need to configure your editor to save source files in UTF-8, but beyond that everything should Just Work.
精彩评论