On Fri, Feb 04, 2011 at 11:42:51AM +0100, Jakub Wilk wrote:
Disclaimer: I'm not maintainer of this package.
* Yann Dirson ydir...@free.fr, 2011-02-03, 20:56:
In [1]: import xdg.DesktopEntry
In [3]: e=xdg.DesktopEntry.DesktopEntry()
In [4]: e.parse('plugins/Games/Chess.desktop')
In
[Yann Dirson, 2011-02-03]
In [6]: print %s % e.getName()
-- print(%s % e.getName())
Ãchecs
please do not use ipython to test encoding related issues, it has
problems...
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc9' in position
0: ordinal not in range(128)
Disclaimer: I'm not maintainer of this package.
* Yann Dirson ydir...@free.fr, 2011-02-03, 20:56:
In [1]: import xdg.DesktopEntry
In [3]: e=xdg.DesktopEntry.DesktopEntry()
In [4]: e.parse('plugins/Games/Chess.desktop')
In [5]: e.getName()
Out[5]: u'\xc9checs'
In [6]: print %s % e.getName()
On Fri, Feb 04, 2011 at 09:37:32AM +0100, Piotr O??arowski wrote:
[Yann Dirson, 2011-02-03]
In [6]: print %s % e.getName()
-- print(%s % e.getName())
Ãchecs
please do not use ipython to test encoding related issues, it has
problems...
OK - but that was only for ease of
Package: python-xdg
Version: 0.19-2
Severity: normal
If I open a translated desktop file with LC_ALL=fr_FR.UTF-8, the
following works as expected (ipython session):
In [1]: import xdg.DesktopEntry
In [3]: e=xdg.DesktopEntry.DesktopEntry()
In [4]: e.parse('plugins/Games/Chess.desktop')
In [5]:
5 matches
Mail list logo