How to solve the garbled problem in IDL

Source: Internet
Author: User

We often download IDL code from the Internet, but it is very likely that Chinese comments are garbled, as shown below. This code is different from the code of our own IDL workspace.

If you know the original code encoding, you can change the text file encoding in "window-preference-General-workspace" to the original encoding.

If you do not know, you can solve the Garbled text problem as follows:

  1. Do not save or compile a garbled pro file in IDL.
  2. Use notepad or WordPad to open the garbled pro file. You can see that there is no Garbled text. Select All and copy it.
  3. Return to IDL and replace all the copied code with garbled code.
  4. Save or compile.

How to solve the garbled problem in IDL

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.