Encoding in external applications, entry updates and more...
Raphaël Fischer
fischer.tellico at free.fr
Mon Jan 19 07:12:19 MST 2009
I actually obtained some answer by myself :
The encoding is indeed that of the locale (UTF-8) in my case. Reencoding
args in latin-1 was sufficient to solve the issue, in python :
loc=re.search('\.([^\.]*)',locale.setlocale(locale.LC_ALL, ''))
if loc:
local=loc.group(1)
else:
local='UTF-8'
arg=unicode(arg, local).encode('latin-1')
I will propose an update of the allocine.fr script. I have experimented the
same issue on the amazon script.
--
View this message in context: http://www.nabble.com/Encoding-in-external-applications%2C-entry-updates-and-more...-tp21290721p21543727.html
Sent from the Tellico mailing list archive at Nabble.com.
More information about the tellico-users
mailing list