By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,515 Members | 1,848 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,515 IT Pros & Developers. It's quick & easy.

Unicode case conversion

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.