voc
voc copied to clipboard
Problems with non-ascii characters in __str__() and __repr__() functions
__str__() , __repr__() functions don't work properly with non-ascii characters.
When I run this code:
s = "Ç"
print(s.__str__())
print(s.__repr__())
In Python I get:
Ç
'Ç'
But in VOC I get:
Ç
'Ç'
It is giving me problems while implementing ascii() function under Python.java
@gEt-rIgHt-jR I am not getting that error. Can you try that again ? and with other non-ascii characters . Because I tried Ç , ¢ , ¥ ,© and all seem to be working as expected . Are there any other issues here?
@dibyadas On windows I am getting that output, on Ubuntu I am getting correct output.