Solve the Problem of mingw garbled-zz in Windows

Source: Internet
Author: User

Solve windows mingw display garbled http://winsen-da.spaces.live.com/blog/cns! 64c90cfb2d00004f1! 485. Entry? WA = wsignin1.0 & sa= 387596265
The default shell displays ugly things, and a bunch of garbled characters are displayed using the LS command. You can modify the etc/profile file in the msys directory. The LS command correctly displays Chinese characters.

Export PS1 = '[\ U @ msys \ W] $'
Export PS2 = '>'
Export PS4 = '+'
Export lang = en


Alias L = '/bin/ls -- show-control-chars -- color = tty'
Alias LA = '/bin/LS-af -- show-control-chars -- color = tty'
Alias LL = '/bin/LS-alf -- show-control-chars -- color = tty'
Alias ls = '/bin/ls -- show-control-chars-f -- color = tty' this method has been verified to be effective and can work properly. The next article introduces another method, it seems that you cannot implement Chinese input.

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.