Aug-23-2019, 11:54 PM
I am getting exact result as you given.. i think something is wrong with terminal ??? is it possible ? can you try my code on your ubuntu ?
on browser it looks fine, but on terminal some thing is wrong. strange issue i am facing bro :(
for example
i see this " Bebês " in terminal instead of " Bebês "
but i see Bebês correctly on browser. but not on my server terminals
on browser it looks fine, but on terminal some thing is wrong. strange issue i am facing bro :(
for example
i see this " Bebês " in terminal instead of " Bebês "
but i see Bebês correctly on browser. but not on my server terminals
(Aug-23-2019, 09:27 PM)snippsat Wrote:(Aug-23-2019, 04:47 PM)adnanahsan Wrote: Problem seems to be with terminal console encoding.Check your terminal encoding,here some test you can do,i use Linux mint 19 here.
tom@tom:~$ locale LANG=en_US.UTF-8 LANGUAGE=en_US LC_CTYPE="en_US.UTF-8" LC_NUMERIC=sv_SE.UTF-8 LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY=sv_SE.UTF-8 LC_MESSAGES="en_US.UTF-8" LC_PAPER=sv_SE.UTF-8 LC_NAME=sv_SE.UTF-8 LC_ADDRESS=sv_SE.UTF-8 LC_TELEPHONE=sv_SE.UTF-8 LC_MEASUREMENT=sv_SE.UTF-8 LC_IDENTIFICATION=sv_SE.UTF-8 LC_ALL=tom@tom:~$ python Python 3.7.3 (default, Apr 17 2019, 11:23:54) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> >>> locale.getdefaultlocale() ('en_US', 'UTF-8') >>> locale.getpreferredencoding() 'UTF-8' >>> exit()tom@tom:~$ python -c "import sys; print(sys.stdout.encoding)" UTF-8 tom@tom:~$ python -c "print('Spicy jalapeño ☂')" Spicy jalapeño ☂ tom@tom:~$ python -c "print('Relógio feminino dourado')" Relógio feminino dourado