[openbeos] UTF-8 and character case

  • From: "Allen Brunson" <brunsona@xxxxxxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Tue, 10 Jun 2003 21:08:35 -0500

Does anybody here know how to do the following on BeOS:

A) determine if a (possibly multi-byte) UTF-8 character is lower or
uppercase.

B) Once the above determination is made, change it from lowercase to
uppercase, or vice versa.

Maybe there's some bit-pattern determination you can make, like the way you
can recognize how many bytes in a UTF-8 string go together to form a single
character, but if so I've never heard of it.


Other related posts: