开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜