Unicode encoding method obtained from Japanese

Source: Internet
Author: User
As mentioned above, when the software is transformed to support multiple languages, it requires attribute files, and the encoding in the file, if it is Japanese, Chinese, Korean, etc., must use Unicode encoding. The following example shows how to obtain unicode encoding.
1. paste the original Japanese characters in the notepad. For manual input, you also need to enter the Japanese input method. For example, enter "invalid Parameters ".
2. Save it as a Unicode-encoded file.
3. open the file with ultraedit and edit it in hexadecimal format.
4. We can see: "FF Fe 6f 30 44 30 ".
5. The first two bytes "ff fe" are the start message of the file, and the true text is from the third byte.
6. Each two bytes corresponds to one character or punctuation. Note that the encoding order of the text is reversed. For example, the Unicode encoding of "bytes" is "/u306f", and the Unicode encoding of "bytes" is "/u3044 ".
7. Others are similar. You can use this method.
8. I vaguely remember that JDK has a code conversion tool. You can find it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.