bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date zh_TW.Big5 +%P


From: Paul Eggert
Subject: Re: date zh_TW.Big5 +%P
Date: Sun, 01 May 2005 21:49:31 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Abel Cheung <address@hidden> writes:

> About detection of multibyte string, is there any
> better method than retrieving LC_TIME and
> lookup the charset inside a predefined array
> containing known multibyte charset?

Sorry, I don't quite follow, but I was assuming that we could do
something straightforward, namely, use mbrlen to detect whether we are
looking at a multibyte character.  strftime already does this to parse
the format string, so I assume it can also do it to parse the am/pm
string.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]