Comment 8 for bug 1666829

Revision history for this message
VinsS (vincent-vandevyvre) wrote :

No problem with Python 3

---------------------------------
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> f = open('test', 'w')
>>> f.write('déjàvu')
6
>>> f.close()
>>> f = open('test', 'r')
>>> l = f.read()
>>> l
'déjàvu'
---------------------------------

When you launch Qarte with the argument -d the log must begin with:
---------------------------------
vincent@djoliba:~$ qarte -d
11:29:01: INFO - qarte Qarte-3.6.1
11:29:01: INFO - qarte Python 3.4.3 on Linux-3.13.0-110-generic-x86_64-with-Ubuntu-14.04-trusty
11:29:01: INFO - qarte File system encoding: utf-8
11:29:01: INFO - qarte System encoding: utf-8
11:29:01: INFO - qarte Locale encoding: ('fr_BE', 'UTF-8')
----------------------------------

If not, this is a configuration problem