On Sunday 10 August 2003 12:35, Sagi Bashari wrote: > Hello, > > I'm trying to use the money_format() function in PHP (same as strfmon() > in C) to format a currency string. > > However it looks like it uses the "??" (shin chet) as the nis symbol > (without gershayim) and not the real symbol (maybe because not all the > fonts support it).
Probably because whoever composed the Israeli locale wasn't familiar with it. Edit /usr/share/i18n/locales/he_IL and change: 1. currency_symbol from "<U05E9><U05D7>" to "<20AA>". 2. p_cs_precedes from 1 to 0 2. n_cs_precedes from 1 to 0 Then, recompile your he_IL locale: $ localedef -f CP1255 -i he_IL he_IL (note I use CP1255 instead of ISO-8859-8 on purpose, since the ISO-8859-8 doesn't contain the New Sheqel sign) $ localedef -f UTF-8 -i he_IL UTF-8 > 2. What other applications like KDE do? I think KDE has its own locale database, separate from libc's one. ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
