Re: conversion printf format to icu style format
Re: conversion printf format to icu style format
- Subject: Re: conversion printf format to icu style format
- From: Terry Lambert <email@hidden>
- Date: Fri, 25 Sep 2009 11:54:54 -0700
On Sep 25, 2009, at 11:06 AM, Fritz Anderson <email@hidden>
wrote:
On 25 Sep 2009, at 12:24 PM, Terry Lambert wrote:
I believe the ICU libraries can do ICU formatting; what does this
have to do with printf, whose formatting is dictated by the ISO/
ANSI C standards and the Single UNIX Specification v3/POSIX
1003.1-2003 standards, and can not be changed without starting by
submitting an RFP to The Austin Group?
I would suggest you just use the ICU libraries if you want ICU
formatting.
I imagined the OP's situation was that he had thousands of printf-
format strings, and wanted to know if he could automate the task of
porting them to ICU.
Ah. Misunderstood because of where he asked, then.
I think it would be pretty trivial to automate this by starting with a
printf implementation, and instead of processing arguments while
traversing the format string, emitting ICU formatting instead.
I don't know if anyone has done this, as I don't know of anyone who
actually uses ICU in production software.
It seems to me, though, that that question might be better asked at
the ICU site than on this list, since there's no vested interest here
in tools to start using ICU, whereas the ICU people are the ones most
likely to provide such a tool as part of advocating their library.
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden