Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » localized formating of double on linux
Re: localized formating of double on linux [message #19667 is a reply to message #19660] Sat, 03 January 2009 12:21 Go to previous messageGo to previous message
lokki is currently offline  lokki
Messages: 20
Registered: November 2005
Promising Member
Hello,

bad news Sad

As posted previously, on Gentoo it works fine (development machine). Now trying to run Gentoo built executable on Ubuntu 10.8 ("production" machine). Same problem, the workaround for Gentoo doesn't work on Ubuntu. Don't know why, because locale on Ubuntu is set to:

LANG=sk_SK.UTF-8
LC_CTYPE="sk_SK.UTF-8"
LC_NUMERIC="sk_SK.UTF-8"
LC_TIME="sk_SK.UTF-8"
LC_COLLATE="sk_SK.UTF-8"
LC_MONETARY="sk_SK.UTF-8"
LC_MESSAGES="sk_SK.UTF-8"
LC_PAPER="sk_SK.UTF-8"
LC_NAME="sk_SK.UTF-8"
LC_ADDRESS="sk_SK.UTF-8"
LC_TELEPHONE="sk_SK.UTF-8"
LC_MEASUREMENT="sk_SK.UTF-8"
LC_IDENTIFICATION="sk_SK.UTF-8"
LC_ALL=


I tried to modify workaround a for whole locale configuration:
...
setlocale(LC_COLLATE,"sk_SK.UTF-8");
setlocale(LC_MONETARY,"sk_SK.UTF-8");
setlocale(LC_MESSAGES,"sk_SK.UTF-8");
...
setlocale(LC_ALL,"C");

But this doesn't help at all.

Thanks for any suggestions
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Huge amount of linking errors [FreeBSD 7.1, GCC 4.3]
Next Topic: MSVC++ Runtime error
Goto Forum:
  


Current Time: Sun May 05 11:19:10 CEST 2024

Total time taken to generate the page: 0.02543 seconds