The problem is, that string passed to drawstringframed is DBCS string instead of unicode string. I don't know when and why it is converted into DBCS...
Regards, Zhenxin Li -----邮件原件----- 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表 Dirk Meyer 发送时间: Friday, June 18, 2004 12:08 AM 收件人: [EMAIL PROTECTED] 主题: [Freevo-users] Re: No DBCS character output in freevo???... "Zhenxin Li" wrote: > It seems that __drawstringframed_line__ function in osd.py divides the > output string into a byte sequence, cause DBCS string failed to > display. > > I'm not very familiar with python language. So anyone help taking a > look? The strings are in unicode and unicode should handle all character sets, your language, too. So by taking one character at the time, it should work. I have no idea what DBCS strings are and how they are encoded, but it should be possible the way it is now. Sorry, I can't help you here. My unicode knowledge in python is very limited, it works with latin-1. For everything else, we need patches. Dischi -- Never put off until tomorrow what you can do the day after. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
