Hi FreeRDP developers,

I have just moved more stuff to the new libfreerdputils library, including
datablob.c, mem.c and unicode utilities. What I did finally for the unicode
utils was to wrap iconv under an "UNICONV" structure that can be initialized
anywhere and then passed back to the function. This way, it's easy for any
module to get its own handle to a unicode converter.

I am currently working on getting NLA to work with unicode characters. It
should now use the new unicode utils, but NLA will still fail, and I just
realized why: NTLMSSP requires the uppercasing of characters as part of its
cryptographic hashing functions. My previous uppercasing was based on the
fact that it's trivial in ASCII to check for a character between 'a' and 'z'
and change it to a character between 'A' and 'Z', but that doesn't hold in
unicode: there are tons of letters from many different languages that are
not in US ASCII that have uppercase equivalents.

>From my understanding, it is possible to have usernames and passwords in
just about any language supported by unicode. We can probably make a
conversion table to cover most "special" letters but properly covering all
of them would not be trivial. Does anyone know of an actual good method of
uppercasing unicode characters?
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to