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 #19669 is a reply to message #19668] Sat, 03 January 2009 15:09 Go to previous messageGo to previous message
lokki is currently offline  lokki
Messages: 20
Registered: November 2005
Promising Member
Hello,

I don't know when the GUI is initialised exactly. I set language and locale in first lines of GUI_APP_MAIN. The code looks like this...
GUI_APP_MAIN
{	
	int language = LNGC_('S','K','S','K', CHARSET_UTF8);
	SetLanguage(language);
	setlocale(LC_ALL,"C");
....


edit: So it is executed before the main window is instantiated and run.

[Updated on: Sat, 03 January 2009 15:12]

Report message to a moderator

 
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: Mon Jun 17 01:00:02 CEST 2024

Total time taken to generate the page: 0.05333 seconds