Ruby + watir-problem history

Source: Internet
Author: User
Tags blank page

1. How to solve the problem that garbled characters are displayed in the scite editor in Chinese. use NotePad to open the RB script, save it as, select the encoding mode as UTF-8, and save it. Open the script with scite.

How can I make the scite console output Chinese characters as well? The method is as follows:
Open scite-> options, find "open global options file" in it, and copy all the content in it (it can be changed here, but because it is a global configuration, we do not recommend that you directly modify it here). Open "open user options file", which should be a blank page and paste all the content. This configuration file is a global configuration of scite, such as the encoding format, Character Set, text settings, and size. We found the Configuration:

Lc_ctype = en_us.utf-8Output. Code. Page=65001

2. After yaml is configured, the system prompts "/psych. RB: 203: In 'parse'" error.

Solution:The yaml file needs to be indented by two or three spaces, or by using the tab, the element should be indented again.

To be continued

Related Article

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.