Re: conversion printf format to icu style format
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Ah. Misunderstood because of where he asked, then. -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Sep 25, 2009, at 11:06 AM, Fritz Anderson <fritza@manoverboard.org> 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. 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert