The Chinese character conversion ASCII code in the property File

Source: Internet
Author: User

Method 1:
Open the command line window, go to the JDK bin directory, enter the native2ascii command, press enter, and then there will be light

In the flash, switch to the Chinese Input status. Enter the Chinese text to be converted and press Enter.

Method 2:
First, put the file to be converted (for example, a.txt) in the specified directory, for example, C :\
Open the command line window and go to the C drive directory.
Enter native2ascii a.txt B .txt and press Enter.
(Or open the command line window and enter native2ascii c: \ a.txt c: \ B .txt)
B .txt contains the converted ASCII code.

Convert ASCII code back to Chinese
In the command line window, enter:
Native2ascii-reverse c: \ B .txt c: \ c.txt

The content in c.txt is the converted Chinese

From: http://www.blogjava.net/liuquanqi/archive/2007/03/19/104684.html

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.