MapServer / MapServer-import

3 stars 2 forks source link

Need a msUTF8ToUniChar() #2213

Closed tbonfort closed 12 years ago

tbonfort commented 12 years ago

Reporter: dmorissette Date: 2007/08/07 - 22:30 The mapagg.cpp rendering implementation needs a function to convert UTF8 chars to Unicode (binary) values.

We have found Tcl_UtfToUniChar() at http://search.cpan.org/src/NI-S/Tk-804.027/pTk/mTk/tclGeneric/tclUtf.c that's a good candidate for this, and the license is compatible with MapServer's license: http://search.cpan.org/src/NI-S/Tk-804.027/pTk/mTk/license.terms

tbonfort commented 12 years ago

Author: dmorissette Date: 2007/08/07 - 23:09 Fixed. Added msUTF8ToUniChar() (maptclutf.c) in 8acb4272b1c210d117778b69cd9edad5c8b61272 (r6493)

I went back to the source and took tclUtf.c from the current Tcl/Tk 8.4 release at http://www.tcl.tk/software/tcltk/.

The source file includes reference to the origin of the source and a copy of its original license terms