regexxer r650 - in trunk: . src



Author: daniel
Date: 2007-02-18 19:58:32 +0000 (Sun, 18 Feb 2007)
New Revision: 650
ViewCVS link: http://svn.gnome.org/viewcvs/regexxer?rev=650&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/statusline.cc
   trunk/src/stringutils.cc
   trunk/src/stringutils.h
Log:
* src/stringutils.{cc,h} (Util::wstring_to_utf8): New function to
convert an std::wstring to UTF-8.  This is a temporary measure
to deal with the same locale issues as discussed in the comments
to bug #399216.
(Util::int_to_string): Use a wide character stream and convert
the result to UTF-8 with Util::wstring_to_utf8().
* src/statusline.cc (CounterBox::stringstream_): Change to
std::wostringstream, as above.
(CounterBox::number_to_string): Use Util::wstring_to_utf8().





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]