Recent

Author Topic: Displaying chinese characters  (Read 5959 times)

mailanie

  • Guest
Displaying chinese characters
« on: January 08, 2006, 11:41:00 pm »
I want to make a program for learning chinese characters, that's why I need to display chinese characters on labels, buttons, memo or comboboxes

I can't manage to do it with the IME (the program doesn't accept my text and leaves the cell empty after I type in chinese)
Is there any other way to let the program display them ?

mailanie

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: Displaying chinese characters
« Reply #1 on: February 11, 2006, 03:36:26 pm »
What operating system are you using?? And what Lazarus versions??

If it's on Linux then you will have problems using Chinese with Gtk1, because it requires a iso encoding.

Try Gtk2 for Linux, it accepts UTF-8 strings. Then you will need to encode your strings as utf-8 on the source file. You can either compile the IDE for Gtk2 or use another editor to edit the strings on the source file and make them UTF-8 chinese.

 

TinyPortal © 2005-2018