Re: fmt replaces utf8 spaces for ascii ones

2017-02-13 Thread Walter Alejandro Iglesias
On Sun, Feb 12, 2017 at 10:21:11PM -0800, Eric Pruitt wrote: > Unfortunately I do not have access to an OpenBSD machine to verify > whether or not its fmt does the correct thing. By the way, if you try your example in openbsd take in care obsd printf won't recognize \u00a0. Use '\xc2\xa0'

Re: fmt replaces utf8 spaces for ascii ones

2017-02-12 Thread Walter Alejandro Iglesias
On Sun, Feb 12, 2017 at 10:21:11PM -0800, Eric Pruitt wrote: > On Sun, Feb 12, 2017 at 09:21:37PM +0100, Walter Alejandro Iglesias wrote: > > After investigating a bit I realized that what I called utf8 space is a > > 'nobreakspace' so it's ok fmt to replace them for ascii ones. I made a > >

Re: fmt replaces utf8 spaces for ascii ones

2017-02-12 Thread Eric Pruitt
On Sun, Feb 12, 2017 at 09:21:37PM +0100, Walter Alejandro Iglesias wrote: > After investigating a bit I realized that what I called utf8 space is a > 'nobreakspace' so it's ok fmt to replace them for ascii ones. I made a > stupid question. Sorry! If that's the behavior you see, I think _that_

Re: fmt replaces utf8 spaces for ascii ones

2017-02-12 Thread Walter Alejandro Iglesias
After investigating a bit I realized that what I called utf8 space is a 'nobreakspace' so it's ok fmt to replace them for ascii ones. I made a stupid question. Sorry!

fmt replaces utf8 spaces for ascii ones

2017-02-11 Thread Walter Alejandro Iglesias
Hello, Probably Ingo will know about this. fmt, when using utf8 locale, replaces utf8 spaces for ascii ones (I use utf8 spaces in html to get web browsers render doble space at the end of a sentence). This doesn't happen with LC_CTYPE=C. Is this feature or a bug?