[ wxwindows-Feature Requests-1729718 ] Request: locale-independent
functions
SourceForge.net
noreply at sourceforge.net
Fri Jun 1 15:05:50 PDT 2007
Feature Requests item #1729718, was opened at 2007-06-01 18:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=359863&aid=1729718&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Brian A. Vanderburg II (brianvanderburg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Request: locale-independent functions
Initial Comment:
Frequently I need to read/write data in english format, such as when a program needs to generate code, even when the current locale may be different. Functions such as wxString::ToDouble and wxString::Format use locale-specific conversions and causes problems. I would like to see some locale-independent functions similar to those that glib has that work with ASCII format material, to aid in this, espeicially since switching locales isn't thread-safe anyways, and various parts of the library use them over the others (such as reading/writing double in wxConfig)
for example, wxAsciiIsDigit(c) return c >= wxT('0') && c <= wxT('9'), also wxAsciiIsAlpha, wxString::AsciiFormat, wxString::AsciiPrintf, wxAsciiStrtod, etc
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=359863&aid=1729718&group_id=9863
More information about the wx-dev
mailing list