problem with print command

All about writing scripts for Celestia in Lua and the .cel system
Topic author
Margüello
Posts: 5
Joined: 02.05.2005
With us: 19 years 6 months
Location: Pe?±afiel, Spain

problem with print command

Post #1by Margüello » 02.05.2005, 10:16

I have a problem with the cel script. In Spanish the letter ? is necessary, but this letter does not appear with the print command. There is some form to fix it?

Topic author
Margüello
Posts: 5
Joined: 02.05.2005
With us: 19 years 6 months
Location: Pe?±afiel, Spain

Post #2by Margüello » 08.05.2005, 09:20

I have a problem with the letter Image in the cel script. This letter does not appear with the print command.
With this command: print {text "peque?o planeta" row -3 column 1 duration 3}, the result is: peque planeta.
There is some solution for this?

maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years
Location: N?rnberg, Germany

Post #3by maxim » 18.05.2005, 11:50

Save your .cel script with UTF8 encoding!

maxim

symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 6 months
Location: france, divion

Post #4by symaski62 » 18.05.2005, 21:48

?± ?‘ <= :wink:

I makes letter


hi hi hi hi ! :roll:
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Topic author
Margüello
Posts: 5
Joined: 02.05.2005
With us: 19 years 6 months
Location: Pe?±afiel, Spain

Post #5by Margüello » 22.05.2005, 09:33

Thank you for the replies. I am a windows user, and i use the notepad to translate the del script files. When i save the cel script file in utf8 format, Celestia showed the following error: '{' expected at start of script.
I fix it using another editor instead of the notepad.


Return to “Scripting”