On Thu, Jan 02, Philip Blundell wrote:
On Thu, 2003-01-02 at 19:31, Sebastian Geerken wrote:
What I need is rather a function
char *nl_langinfo(nl_item *item, char *locale);
since the locale is set in the HTML document, not by the user (e.g. if a german user reads an english web page). Perhaps a temporary setlocale() may work.
Surely the HTML document gives you the encoding directly, not a locale string? Can you give a slightly more concrete description of what it is you're trying to do?
I'm working on character alignment, and the attribute CHAR specifies the character at which the columns aligned. If not specified, the language-dependant character for the decimal point must be used. This is nothing covered by the encoding, since two languages using the same encoding may differ in this. Sebastian