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.