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 » Community » U++ community news and announcements » U++ 2017 beta
Re: U++ 2017 beta [message #47329 is a reply to message #47326] Wed, 04 January 2017 15:29 Go to previous messageGo to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi,

@cbpporter: My locale on both Windows and Linux (Mint 18.1) computers is "Language: English, Region: Finland". Numeric formats are under Region, which is Finnish, and surely use comma as decimal separator, but that has never affected my programs on WIN or X11. I do not know how GTK changes the sprintf and Format behavior, but that certainly is annoying and can have severe consequences since the calls to these functions are scattered all around my code in 'million' places.

@Mirek: I bet this will divide opinions: My opinion is that I should be able to trust on Format to use decimal point regardless the region. I.e. the way it has always been with WIN and X11. If region compatible Formatting output is desired, that should be addressed through e.g. some "FormatRegional()" API or some optional formatter flags which are disabled by default.

For some users it might be nice to have numeric values in dialogs shown with regional separators and display formats, but for writing e.g. CSV files (comma separated values), the regional separators will just introduce a catastrophy. (1,23,2,34,3,45 ...) Even, if list separators were different, the international file transfer would be a disastrous mess with tens of file layouts.

--

Is it possible to make U++ on GTK to behave consistently like WIN and X11 do?

Best regards,

Tom

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: upp-10502-winxp32-compiled
Next Topic: On-line meeting before 2017 release
Goto Forum:
  


Current Time: Tue May 07 08:16:11 CEST 2024

Total time taken to generate the page: 0.03077 seconds