469,898 Members | 1,792 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

Unicode case conversion

Hi,

I need to convert a UTF-8 encoded string to all lowercase. I tried using
boost::algorithm::to_lower but it couldn't handle the characters in a
Glib::ustring (which are of type gunichar).

Is there any safe, portable, and *working* way to do case conversion
with a unicode string?

Regards,
Matthias
Nov 1 '05 #1
1 1891
Matthias Kaeppler wrote:
Hi,

I need to convert a UTF-8 encoded string to all lowercase. I tried using
boost::algorithm::to_lower but it couldn't handle the characters in a
Glib::ustring (which are of type gunichar).

Is there any safe, portable, and *working* way to do case conversion
with a unicode string?

Regards,
Matthias


Ugh, forget about it... Glib::ustring has a member function to do that,
I must have been blind.

Sorry for the noise.
Nov 1 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

23 posts views Thread by Hallvard B Furuseth | last post: by
14 posts views Thread by wolfgang haefelinger | last post: by
14 posts views Thread by Thomas Heller | last post: by
6 posts views Thread by New MSSQL DBA | last post: by
32 posts views Thread by Wolfgang Draxinger | last post: by
1 post views Thread by Tambet Matiisen | last post: by
10 posts views Thread by Nikolay Petrov | last post: by
8 posts views Thread by sonald | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.