I'm not sure if I brought this up before, if so I apologize.
I'm using CString's MakeUpper() method to convert string to all upper case. This works for US letters as well as for some European languages, but for some reason that functions fails with some non-ANSI Unicode characters.
Does anyone know why and if there's a reliable API to convert a Unicode-16 string to all upper case without going into details about locales, etc?
Let me explain. I use that function as part of generation of a user code for a license of my software. On the other hand a PHP script on a web server generates the same license code automatically in a user email. The PHP capping function works as intended, the issue happens in MakeUpper when certain "foreign" characters aren't converted to upper case. I don't have a non-English keyboard now to give you an example...
The thing is that I don't know.
...
The PHP capping function works as intended, the issue happens in MakeUpper when certain "foreign" characters aren't converted to upper case. I don't have a non-English keyboard now to give you an example...
So is it the same problem you asked (and then have answered) in this thread?
Bookmarks