[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printf %.3s broken in UTF-8 locales in gawk 3.1.7
From: |
Aharon Robbins |
Subject: |
Re: printf %.3s broken in UTF-8 locales in gawk 3.1.7 |
Date: |
Wed, 03 Mar 2010 21:37:31 +0200 |
Greetings. Re: this:
> Subject: printf %.3s broken in UTF-8 locales in gawk 3.1.7
> From: Pascal Terjan <address@hidden>
> To: address@hidden
> Date: Wed, 03 Mar 2010 18:22:00 +0100
>
> $ LC_CTYPE=fr_FR.UTF-8 awk 'BEGIN{printf("%.3s\n", "123456789" );}'
> 123456789
>
> $ LC_CTYPE=fr_FR.ISO-8859-15 awk 'BEGIN{printf("%.3s\n",
> "123456789" );}'
> 123
This is a known problem. It's fixed in the gawk-stable CVS. Let
me know if you need a patch.
Thanks for the report,
Arnold
- Re: printf %.3s broken in UTF-8 locales in gawk 3.1.7,
Aharon Robbins <=