Off? [gtk] accented characters under windows

Hi!

I’ve just noticed, that any menu, which contains accented characters,
won’t be displayed. (ruby 1.6.6) Is it gtk or ruby-specific?

Gergo

±[Kontra, Gergely @ Budapest University of Technology and Economics]-+

    Email: kgergely@mcl.hu,  kgergely@turul.eet.bme.hu          |

URL: turul.eet.bme.hu/~kgergely Mobile: (+36 20) 356 9656 |
±------“Olyan langesz vagyok, hogy poroltoval kellene jarnom!”-------+
.
Magyar php mirror es magyar php dokumentacio: http://hu.php.net

Hi,

···

On Wed, 10 Jul 2002 00:12:47 +0900 “Kontra, Gergely” kgergely@mlabdial.hit.bme.hu wrote:

Hi!

I’ve just noticed, that any menu, which contains accented characters,
won’t be displayed. (ruby 1.6.6) Is it gtk or ruby-specific?

If you use “GTK+ and GIMP for Windows(http://www.gimp.org/~tml/gimp/win32/)”,
you might need to use strings in UTF-8.

Hope this helps.


.:% Masao Mutohmutoh@highway.ne.jp

If you use “GTK+ and GIMP for Windows(http://www.gimp.org/~tml/gimp/win32/)”,
you might need to use strings in UTF-8.

May I ask how to do it (in ruby)?

Gergo
±[Kontra, Gergely @ Budapest University of Technology and Economics]-+

    Email: kgergely@mcl.hu,  kgergely@turul.eet.bme.hu          |

URL: turul.eet.bme.hu/~kgergely Mobile: (+36 20) 356 9656 |
±------“Olyan langesz vagyok, hogy poroltoval kellene jarnom!”-------+
.
Magyar php mirror es magyar php dokumentacio: http://hu.php.net

Hi,

If you use “GTK+ and GIMP for Windows(http://www.gimp.org/~tml/gimp/win32/)”,
you might need to use strings in UTF-8.

May I ask how to do it (in ruby)?

Three of the followings are recommended.

  1. You write your codes in UTF-8.(though I’ve never tried.)
  2. use Iconv module(see RAA).

If you use strings only in static menus/messages,
I recommend you to use Ruby-GetText-Package(see RAA)
(This package require Iconv module too).
Because if you use it, your application can support L10n easily.

Cheers.

···

On Wed, 10 Jul 2002 01:28:02 +0900 “Kontra, Gergely” kgergely@mlabdial.hit.bme.hu wrote:

.:% Masao Mutohmutoh@highway.ne.jp

Hi,

···

On Wed, 10 Jul 2002 02:06:36 +0900 Masao Mutoh mutoh@highway.ne.jp wrote:

Hi,

On Wed, 10 Jul 2002 01:28:02 +0900 > “Kontra, Gergely” kgergely@mlabdial.hit.bme.hu wrote:

If you use “GTK+ and GIMP for Windows(http://www.gimp.org/~tml/gimp/win32/)”,
you might need to use strings in UTF-8.

May I ask how to do it (in ruby)?

Three of the followings are recommended.

  1. You write your codes in UTF-8.(though I’ve never tried.)
  2. use Iconv module(see RAA).

Oops, it is two not three.
#Ruby-GetText-Package is not same purpose.

Cheers,

.:% Masao Mutohmutoh@highway.ne.jp