How to get apostrophe to show up in text?
by amaranthia · in Torque Game Builder · 01/14/2007 (8:22 pm) · 2 replies
I've got an odd little problem. My apostrophes are not showing up in my game text when I use GuiMLTextCtrl.
My string: "I'm sorry I said all of those mean things about you to my sister. I didn't mean it... Really!";
The output: I m sorry I said all of those mean things about you to my sister. I didn t mean it... Really!
I've tried using \' but that didn't work. Does anyone know which escape sequence I need to use?
My string: "I'm sorry I said all of those mean things about you to my sister. I didn't mean it... Really!";
The output: I m sorry I said all of those mean things about you to my sister. I didn t mean it... Really!
I've tried using \' but that didn't work. Does anyone know which escape sequence I need to use?
#2
(I'm using textGui.addText() )
01/15/2007 (10:24 am)
Nah, that doesn't work for me. I had to do this to get it to work: I\x27m (I'm using textGui.addText() )
Torque Owner Kirakorn Chimkool
TestMLText.setText("I\'m sorry I said all of those mean things about you to my sister.\nI didn\'t mean it... Really!");What's script you are using to set the text?