@cvp
In Pythonista 3.3:
len('á') = 1 (not 2)
That wasn't a problem earlier.
When I edit the script with another editor, like Taio, File Browser Pro the length = 1.
Edited with Taio:
print(len('á')) = 1
copy & paste with Pythonista:
print(len('á')) = 2
Reference to the iCloud issue:
I am using Taio editor and tested this. I open the same script in Taio (iPad) and Pythonista (iPad). Then I make changes in Pythonista and switch to Taio. There comes a dialog (Compare, Accept, Discard changes). If I now go to Pythonista (iPhone), the old (unchanged) version is there and Pythonista (iPhone) writes this, old version to the iCloud.
Pythonista does not fetch any current data from iCloud, even after a cold start, Taio does it even without a cold start. The safest way is to open the scripts via iOS Files App.
Edit: I often have this problem only on the iPad. I edit with Taio and Pythonista still has the old version.
Sometimes it is, certainly, due to the iCloud. But not always.