U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » Localisation clarifications
Re: Localisation clarifications [message #5451 is a reply to message #5449] Fri, 22 September 2006 11:07 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
lundman wrote on Thu, 21 September 2006 20:28


That I have:

# file lang.t
lang.t: UTF-8 Unicode C++ program text

# echo LC_CTYPE
ja_JP.UTF-8
# head lang.t
T_("Engine Connect")
jaJP("日本語")
svSE("Engine Anknyta")

But, I suspect it IS working, but because it no longer (automatically?) changes to use the correct font, it just shows square boxes. Why did it pick the right font when no jaJP was defined? (Even though the app itself had no Japanese, it worked when I printed Japanese file names). Once I add jaJP, it no longer does.

Before (notice the wide/2byte font)
http://netbsd.interq.or.jp/~lundman/UFxp5.jpg

After (notice thin normal font, which I could also get if I unsetenv LC_CTYPE in the old build)
http://netbsd.interq.or.jp/~lundman/UFxp6.jpg




Well, this really looks like wrong font used. Frankly, I am becoming a kind of desperate about X.org / *X desktop environment font settings...

Anyway, you can try to solve the problem by Draw::SetStdFont - at least we will know what is going on...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: what about decimal-point and thousand-separator?
Next Topic: Name of a print job is in bad encoding (Windows)
Goto Forum:
  


Current Time: Wed Sep 23 18:08:45 GMT+2 2026

Total time taken to generate the page: 0.08780 seconds