Hi,sorry to disturb u,but i need your help?



The problem is quite similar to yours  posted on gtk-i18n maillist,
about CJK in basic-ft2:)
Mine is:
some gb2312-encoded string could not be show in gtkwidget such as button,lable,clist it report error with "Invalid UTF8 string passed to pango_layout_set_text()" , as far as i know gtk use pango to implement text output,in internal i use unicode encoding

The relevant versions
glib 2.0
atk1.0
pango1.0
gtk+2.0
redhat 7.2

so is it necessary to convert gb2312 string to utf8 string?any api can do this?
thanks a lot






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]