Hi im not familiar with python, I have som strange problem.
I have a bash script for example test.sh:
#!/usr/bin/bash
/usr/bin/python3.4 /home/my/test.py "$1"
If I call script test.py directly from command line as /usr/bin/python3.4 /home/my/test.py "ťčšťčš" it works
If a call script test.sh from commandline: test.sh "ťčšťčš" it not works
if im using only English chars it works in argument.. problem is only with non-English chars.
How to debug this ? Please help..
Im think everythink is Unicode... so bash is Unicode friendly python 3 is too .. I have no idea where is the problem ... sorry for my English..
sorry my mistake... ist a bit complicated...
Runing bash script works...
I wish use that bash script in sieve filter... so sieve passing utf8 encoded variables to bash and bash passint it to python... with only english chars it is ok.. but passing non english is buggy it
please delete this thread
I have a bash script for example test.sh:
#!/usr/bin/bash
/usr/bin/python3.4 /home/my/test.py "$1"
If I call script test.py directly from command line as /usr/bin/python3.4 /home/my/test.py "ťčšťčš" it works
If a call script test.sh from commandline: test.sh "ťčšťčš" it not works
if im using only English chars it works in argument.. problem is only with non-English chars.
How to debug this ? Please help..
Im think everythink is Unicode... so bash is Unicode friendly python 3 is too .. I have no idea where is the problem ... sorry for my English..
sorry my mistake... ist a bit complicated...
Runing bash script works...
I wish use that bash script in sieve filter... so sieve passing utf8 encoded variables to bash and bash passint it to python... with only english chars it is ok.. but passing non english is buggy it
please delete this thread