This is where all the old Lemma Soft-specific posts are (i.e. Tales of Lemma 1, Shoujo Attack!, and some Hanafuda Club). They are here for old times sake ^^
-
rainy
#1
Post
by rainy » Wed Aug 15, 2007 8:20 am
Hi. I was in need for a simple but powerful enough engine for a visual novel, and someone suggested me using the RenPy. It's really great for a non-coder like me, many thanks to its creators.
But i have a small problem. I'm a russian, so i use cyrillic letters in dialogs and character names. But while russian texts in the dialogs are OK, it isn't shown correctly in the characters names. I see something like \uг0430\u0441\u043a there instead of russian letters when playing the compiled game.
I wonder if this can be solved somehow?
-
PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
-
Contact:
#2
Post
by PyTom » Wed Aug 15, 2007 10:21 am
Yes. In Python code, you must prefix unicode strings (Which Russian names are) with u. So something like:
Code: Select all
init:
$ laika = Character(u"Лайка")
laika "Woof!"
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
-
rainy
#3
Post
by rainy » Wed Aug 15, 2007 10:53 pm
PyTom wrote:Yes. In Python code, you must prefix unicode strings (Which Russian names are) with u.
Great! Thanks for help.

Users browsing this forum: No registered users