Reece Dunn: > Do you mean that the 4th byte of a UTF8 string corresponds to the Chinese > symbols?
Having a 4th byte takes it out of the BMP. > If so, aren't these available with the MS Mincho (and I think the > MS Gothic) fonts? You need to install the Japanese/Chinese language support > to provide the character support. No, here is the GB-18030 download http://www.microsoft.com/downloads/details.aspx?FamilyID=fc02e2e3-14bb-46c1-afee-3732d6249647&DisplayLang=en It contains the SimSun18030 font, support for the ...L APIs which supplement the ...A (ANSI) and ...W (Wide) APIs, and other library support . > Provided that you have the correct character, you can use the normal Windows > rendering (i.e. ExtTextOutW) to render the Japanese/Chinese text. For > example, U+3301 (I think) would be rendered as the "<<" character. The GB-18030 download is for CJK Extensions A and B: U+3400 to U+4DBF and U+20000 to U+2A6DF. The SimSun18030 font only includes Extension A, not Extension B, so even if Scintilla attempted to add some support for GB-18030, it may not be visible. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
