There are several possibilities.
First, what do you mean by "multibyte character"? Do you mean UTF8 or the ISO DBCS system?
If you look at the definitions of UTF8 and UTF16, you can make a highly optimized conversion by tearing out the x bits and reformatting them. See For example, http://www.faqs.org/rfcs/rfc2044.html talks about UTF8 <==> UTF32. Setting up for UTF16 will be easy.
The second option may be to fully work in UTF16. Provide your web page (or user interface dialog box or something else) in UTF16 and get the user login this way.
, , Aho-Corasick. , , .
[ 29 2010]
. http://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt, C mbtowc() wctomb(). wchar_ts. 16- wchar_ts, .
, ( ) .