Re: UTF-8 encoding vs UTF-32
- Posted by irv Aug 10, 2014
- 1511 views
I should point out that there are better ways to specify UTF in your source code than the example I gave previously:
object soccer = "Fu\xc3\x9fb\xc3\xa4lle" -- utf-8 -- or: "Fu\u00c3\u009fb\u00c3\u00a4lle" -- unicode -- or: simply type it in or copy any special chars from your character map program, etc. include GtkEngine.e constant win = create(GtkWindow) set(win,"border width",10) set(win,"title"," UTF Test ") set(win,"icon","fonts") connect(win,"destroy","Quit") constant lbl = create(GtkLabel) set(lbl,"text",soccer & " isn't Football!") set(lbl,"font","16") add(win,lbl) show_all(win) main()