Is it OK to write ASCII strings directly into locale source files?

Carlos O'Donell carlos@redhat.com
Mon Jul 24 15:07:00 GMT 2017


On 07/24/2017 10:47 AM, Andreas Schwab wrote:
> On Jul 24 2017, Carlos O'Donell <carlos@redhat.com> wrote:
> 
>> So let us start slowly and agree with 'ASCII - [<>]' where < denotes
>> the start of a code point and > the end of the code point.
> 
> POSIX says "character in the portable character set" if you want to keep
> it portable.

Yes, that's right, and the "7.3 Locale Definition" already says that "<"
is in the reserved namespace and must be escaped to be used literally.

So we should already support using characters from the POSIX portable
character set with proper escaping.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list