-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail with non-ascii char #37
Comments
I didn'T review all the code to make sure my modification didn't intorudce any side effect, but this following modification is working for me.
|
@ikus060 I tried patching with the diff you posted but encountered the following error:
How did you apply your diff? |
I am facing the same error. Could you guys tell me what you did to fix it? |
Still have problems with that as well :) |
use this git patch.
https://gist.github.com/mazz/8924b1d93cb3d16790e39da001823435 |
hello all, pi@raspberrypi:~/java2python-0.5.1 $ git apply unicode.patch Anybody can help please, I'm just a worm Tks |
|
Hello, many thanks for your kind reply. I'm sorry but I can make it (I'm
runnig linux mint) and as I need it only once I don't feel brave enough to
fight for ages.
Any chance you could convert the attach java code please?
Thanks for your help anyway.
kind regards
Le lun. 20 août 2018 à 02:50, Michael <[email protected]> a écrit :
… @pascalJakobs <https://github.com/pascalJakobs>
virtualenv j2p
cd j2p
source bin/activate
pip install http://antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz
git clone https://github.com/natural/java2python.git
pip install -e java2python
cd java2python
<copy the raw patch to your clipboard>
cat >> unicode.patch
<paste>
<ctrl-d>
git apply unicode.patch
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AnnlkwtmEwF1ZwWH3Tq5zQSBpUqRyh0Oks5uSgfngaJpZM4G8l_z>
.
--
pascal
|
Running
j2py
on a java file containing non ascii caracthers is failing:I guess j2py is not properly handling unicode string.
The text was updated successfully, but these errors were encountered: