[Gambas-user] Format$ with different LANG

Pino Zollo pinozollo at ...626...
Wed Jun 24 15:54:52 CEST 2009


For LANG="POSIX"

? Format$(Val("14555888") / 1000, "#,###.000")
14,555.888

...this is OK

LANG="es_ES.utf8" and for LANG="it_IT.utf8"

? Format$(Val("14555888") / 1000, "#,###.000")
14 555,888

There is a space  where should be a . but I can cope with it

For LANG="ru_RU.utf8"  

? Format$(Val("14555888") / 1000, "#,###.000")
14??555,888

  where ?? are 3F3F . These are not recognised as UTF-8 valid characters.

In my GAMBAS program actually the two "3F" are rapresented by squares.

( http://www.qsl.nqt/zp4kfx/Linux/dblog.html )

Best regards

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net




More information about the User mailing list