开发者

how to use unicode in xml

开发者 https://www.devze.com 2023-02-13 22:31 出处:网络
please tell me how to 开发者_如何学Gouse language like \"HINDI\" in xml. my current xml is like:

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

精彩评论

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