Hello, I am Tomohiro KUBOTA, a Japanese speaker and a Debian developer. I am interested in I18N. Several years ago I sent mails to developers of various window managers to support I18N. I remember Blackbox was being improved exactly when I wrote a patch for Blackbox. Well, it is just a past story. Today's topic is not related to this.
Recently I tested whether various window managers can display non-ISO-8859-1 texts. I found that Blackbox can display Japanese but it cannot display Russian, though previous versions could display Russian. http://www.debian.or.jp/~kubota/mojibake/window-managers-200310.html#blackbox I checked the source code of Blackbox and immediately found the reason of this problem. In I18N::I18N in i18n.cc, MB_CUR_MAX is checked. I18N code is used only when MB_CUR_MAX > 1. However, non-I18N code (XLoadQueryFont() and so on) cannot handle locale and ISO-8859-1 font is chosen (BScreen::readDatabaseFont() in Screen.cc). However, Russian needs KOI8-R fonts. In short, the following change > Changes from 0.62.0 to 0.62.1: > - check if the locale actually needs multibyte support before using > multibyte functions is responsible to this problem. This changelog has a misunderstanding. XFontSet-related functions is NOT "multibyte functions". Well, these functions do support multibyte. However, not only multibyte but also locale. Thus, people who need locale (well, people who use other than "C" locale) need XFontSet-related functions. --- Tomohiro KUBOTA <[EMAIL PROTECTED]> http://www.debian.or.jp/~kubota/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]
