2009/8/18 Filip Konvička [email protected] Mozart-Oz tutorial refers the OPI and many examples needs to use of OPI. OPI is for writing Oz programs and must support national text! In other case it is hard to write applications wich do string IO. Right thing is to fix charset problem in the ozc, ozengine, oz.
> If you are using some encoding native to your platform other than the > prescribed 8859-1, then you may consider > > 1. translating each string in the source file from the system ANSI codepage > to utf-8 (this would then be your internal utf-8 string representation) > using some utility function; > > 2. translating the utf-8 representation back to console codepage or OPI > code page for std output (you may need to know whether your program outputs > to the OPI or the console). > > For this all, my package can be probably used: > > * http://www.mozart-oz.org/mogul/info/fkonvick/unicode.html >> > > I used to be able to load national characters from/to utf8-encoded text > files or the oracle database via the tclodbc library, and output strings to > the console or OPI correctly. In my case, the system charset (the one used > by the OPI) was Windows 1250, while the console was cp852. You may find the > necessary code page translations in the library. > > Hope this helps, > Filip > > > >> Hope I understood your question.. >> Best >> Torsten >> >> -- >> Torsten Anders >> Interdisciplinary Centre for Computer Music Research >> University of Plymouth >> Office: +44-1752-586219 Private: +44-1752-558917 >> http://strasheela.sourceforge.net >> http://www.torsten-anders.de >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> _________________________________________________________________________________ >> mozart-users mailing list >> [email protected] >> http://www.mozart-oz.org/mailman/listinfo/mozart-users >> > > > _________________________________________________________________________________ > mozart-users mailing list > [email protected] > http://www.mozart-oz.org/mailman/listinfo/mozart-users > -- Normal people grows o...@#
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
