Salut alex,
j''utilise ce bout de code pour faire apparaître mon texte dans ma
fenêtre:
@dou = TextCtrl.new(@s, -1, "", Point.new(10, 70), Size.new(410, 210),
TE_RICH | TE_MULTILINE)
@dou << "je vais à l''école"
le problème c''est que l''encodage ne marche pas.Je ne peut pas
mettre l''accentuation.J''ai essayer pas mal de solution
différente mais rien à faire.
Quand je veut encoder ça ne marche pas
mais par contre si je fait ceci:
@dou = TextCtrl.new(@s, -1, "je vais à l''école",
Point.new(10, 70), Size.new(410, 210), TE_RICH | TE_MULTILINE)
ça marche très bien. Pourquoi? Quel est le problème? C''est pareil quand
je veut lire des fichiers.txt, j''ai le même problème.
J''ai essayer de tourner mes bouts de codes différement, mais je ne
trouve pas!!!
merci
--------------------------------------------------------
Hello alex, I use this end of code to create my text in my window:
@dou = TextCtrl.new(@s, -1, "", Point.new(10, 70), Size.new(410, 210),
TE_RICH | TE_MULTILINE)
@dou << "je vais à l''école"
The problem it is because the encoding does not walk(work). I cannot put the
accentuation. I have to try quite a lot of different solution but nothing to
make.
When I want to encode that do not walk(work) but on the other hand if I makes
this:
@dou = TextCtrl.new(@s, -1, "je vais à l''école",
Point.new(10, 70), Size.new(410, 210), TE_RICH | TE_MULTILINE)
That walks(works) very well. Why? What is the problem? It is the similar when I
wants to read fichiers.txt, I have the same problem.
I have to try to turn(shoot) my ends of codes différement, but I do not find!!!
Thank you
Sebastien
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users