This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-62


2009/10/6 Ken Brown:
> I've tried to view the attached file (extracted from the output of fc-list)
> in various ways, and here's what I've found (running XP in the U.S., with no
> language-related customization):
>
> Â- Using emacs under X, emacs recognizes the file as UTF-8 and displays the
> foreign characters correctly.
>
> Â- 'cat temp.txt' in the cygwin console produces lots of question marks.

You probably need to select a Unicode-enabled font in the console's
properties, e.g. Lucida Console.


> Â- 'cat temp.txt' in xterm or mintty produces lots of garbage. ÂThe garbage
> changes in mintty if I change the choice of codepage in the options, but I
> haven't been able to get rid of the garbage.

It should be fine if you set the charset to UTF-8 and rerun the
command. Again, you also need to select a suitable font.


>  - If I set LANG=C.UTF-8 before starting xterm, I get correct display of the
> foreign characters as in emacs (under X).  But this doesn't seem to work for
> the cygwin console or mintty (or at least I haven't figured out how to make
> it work).

mintty-0.4.4 ignores the locale variables, but that's changing in 0.5.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]