jdf / Processing.py-Bugs

A home for all bugs and feature requests about Python Mode for the Processing Development Environment.
41 stars 8 forks source link

No polish letters in processing.py #337

Open wezaj opened 2 years ago

wezaj commented 2 years ago

Hi, in Python mode I don't have Polish letters ('text' function), in Java mode everything is ok. How to fix this feature of Python mode?

Regards, Anna J.

villares commented 2 years ago

Cheers @wezaj !

You have to keep in mind Processing Python mode is Python 2, not Python 3, so you have to add u to start unicode strings like this:

image

Otherwise you can add as the very first line of your sketch:

from __future__ import unicode_literals

świąteczne życzenia!