Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
While running game code:
File "game/script.rpy", line 15, in script
b ""Random, [chp]. Russian text."
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)
define chp = Character(u'Russian name', color="#FF4500")
define b = Character('Blah', color="#FFDEAD")
# Start
label start:
hp "Russian text"
b "Random, [chp]. Russian text."
If chp = "Russian name" - it works, but I need exactly Character.
With english name of character it works fine, with russian - not. Tried almost everything, but no result.