Re: Need help with multibyte UTF-8 characters

2017-12-15 Thread Thomas Wolff
Am 15.12.2017 um 01:32 schrieb Brian Inglis: On 2017-12-12 12:42, Thomas Taylor wrote: I believe that Cygwin displays certain UTF-8 characters incorrectly.  To see the problem, first save the attached "utf-8_test.sed" text file to your desktop. Then run "mintty," and set its options by right cli

Re: Need help with multibyte UTF-8 characters

2017-12-14 Thread Brian Inglis
On 2017-12-12 12:42, Thomas Taylor wrote: > I believe that Cygwin displays certain UTF-8 characters incorrectly.  To see > the > problem, first save the attached "utf-8_test.sed" text file to your desktop.  > Then run "mintty," and set its options by right clicking in its title bar, > selecting "O

Re: Need help with multibyte UTF-8 characters

2017-12-14 Thread Andrey Repin
Greetings, Thomas Taylor! > I believe that Cygwin displays certain UTF-8 characters incorrectly.  To > see the problem, first save the attached "utf-8_test.sed" text file to > your desktop.  First, your "NBSP" is actually http://www.fileformat.info/info/unicode/char/23b5/index.htm > Then run

Re: Need help with multibyte UTF-8 characters

2017-12-14 Thread Brian Inglis
On 2017-12-11 16:36, Thomas Taylor wrote: > Thank you for your advice on setting my locale to en_US.UTF-8.  Unfortunately, > Cygwin still seems to have trouble displaying some three-byte UTF-8 encoded > characters correctly.  For example, see the following snippet from a "sed" > file.  This file at

Re: Need help with multibyte UTF-8 characters

2017-12-14 Thread Thomas Wolff
Am 14.12.2017 um 17:21 schrieb cyg Simple: On 12/14/2017 3:55 AM, Thomas Wolff wrote:> Mintty interfaces to Windows using the Unicode/UTF-16 API, so there is no dependency on the Windows system locale. I assume the original poster's problem is a font issue, unless a test case would demonstrate a

Re: Need help with multibyte UTF-8 characters

2017-12-14 Thread cyg Simple
On 12/14/2017 3:55 AM, Thomas Wolff wrote:> Mintty interfaces to Windows using the Unicode/UTF-16 API, so there is > no dependency on the Windows system locale. > I assume the original poster's problem is a font issue, unless a test > case would demonstrate anything else. > Thomas > I seem to rem

Re: Need help with multibyte UTF-8 characters

2017-12-14 Thread cyg Simple
On 12/13/2017 11:40 PM, Brian Inglis wrote: > On 2017-12-13 00:50, Thomas Wolff wrote: >> Am 13.12.2017 um 06:21 schrieb Brian Inglis: >>> On 2017-12-04 18:23, Thomas Taylor wrote: >>> Your Windows Regional settings and your mintty/Options/Text/Language and >>> Character Set should be set to match.

Re: Need help with multibyte UTF-8 characters

2017-12-14 Thread Thomas Wolff
Am 14.12.2017 um 05:40 schrieb Brian Inglis: On 2017-12-13 00:50, Thomas Wolff wrote: Am 13.12.2017 um 06:21 schrieb Brian Inglis: On 2017-12-04 18:23, Thomas Taylor wrote: Your Windows Regional settings and your mintty/Options/Text/Language and Character Set should be set to match. The profile

Re: Need help with multibyte UTF-8 characters

2017-12-13 Thread Brian Inglis
On 2017-12-13 00:50, Thomas Wolff wrote: > Am 13.12.2017 um 06:21 schrieb Brian Inglis: >> On 2017-12-04 18:23, Thomas Taylor wrote: >> Your Windows Regional settings and your mintty/Options/Text/Language and >> Character Set should be set to match. >> The profile commands below set Cygwin locale t

Re: Need help with multibyte UTF-8 characters

2017-12-13 Thread cyg Simple
On 12/13/2017 2:50 AM, Thomas Wolff wrote: > Hi Brian, > > Am 13.12.2017 um 06:21 schrieb Brian Inglis: >> On 2017-12-04 18:23, Thomas Taylor wrote: >>> I want to use multibyte UTF-8 characters in 64-bit Cygwin under >>> Windows 7.  The >>> "vim" editor running in mintty displays the two-byte char

Re: Need help with multibyte UTF-8 characters

2017-12-12 Thread Thomas Wolff
Hi Brian, Am 13.12.2017 um 06:21 schrieb Brian Inglis: On 2017-12-04 18:23, Thomas Taylor wrote: I want to use multibyte UTF-8 characters in 64-bit Cygwin under Windows 7.  The "vim" editor running in mintty displays the two-byte characters correctly, but not the three- (and I assume four-) byt

Re: Need help with multibyte UTF-8 characters

2017-12-12 Thread Brian Inglis
On 2017-12-04 18:23, Thomas Taylor wrote: > I want to use multibyte UTF-8 characters in 64-bit Cygwin under Windows 7.  > The > "vim" editor running in mintty displays the two-byte characters correctly, but > not the three- (and I assume four-) byte characters, which instead display as > rectangul

Re: Need help with multibyte UTF-8 characters

2017-12-12 Thread Thomas Wolff
Am 12.12.2017 um 00:36 schrieb Thomas Taylor: ... This file attempts to convert XML-encoded filenames to UTF-8.  ... How about a generic script, like: sed -e 's,%,\\x,g' -e "s,^,echo $'," -e "s,$,'," | sh -- Problem reports: http://cygwin.com/problems.html FAQ: http://cy

Re: Need help with multibyte UTF-8 characters

2017-12-12 Thread Thomas Taylor
I believe that Cygwin displays certain UTF-8 characters incorrectly.  To see the problem, first save the attached "utf-8_test.sed" text file to your desktop.  Then run "mintty," and set its options by right clicking in its title bar, selecting "Options" and then "Text."  On the Text page set "L

Re: Need help with multibyte UTF-8 characters

2017-12-12 Thread Doug Henderson
On 11 December 2017 at 16:36, Thomas Taylor wrote: > Thank you for your advice on setting my locale to en_US.UTF-8. > Unfortunately, Cygwin still seems to have trouble displaying some three-byte > UTF-8 encoded characters correctly. For example, see the following snippet > from a "sed" file. This

Re: Need help with multibyte UTF-8 characters

2017-12-11 Thread Thomas Taylor
Thank you for your advice on setting my locale to en_US.UTF-8.  Unfortunately, Cygwin still seems to have trouble displaying some three-byte UTF-8 encoded characters correctly.  For example, see the following snippet from a "sed" file.  This file attempts to convert XML-encoded filenames to UTF

Re: Need help with multibyte UTF-8 characters

2017-12-04 Thread Brian Inglis
On 2017-12-04 18:23, Thomas Taylor wrote: > I want to use multibyte UTF-8 characters in 64-bit Cygwin under Windows 7.  > The > "vim" editor running in mintty displays the two-byte characters correctly, but > not the three- (and I assume four-) byte characters, which instead display as > rectangul

Need help with multibyte UTF-8 characters

2017-12-04 Thread Thomas Taylor
I want to use multibyte UTF-8 characters in 64-bit Cygwin under Windows 7.  The "vim" editor running in mintty displays the two-byte characters correctly, but not the three- (and I assume four-) byte characters, which instead display as rectangular filled-in blocks.  The "less" program doesn't