Project

General

Profile

Anomalie #7180

Problème d’encodage lors de la récupếration des variables sur 2.4

Added by Joël Cuissinat almost 9 years ago. Updated over 8 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
Due date:
01/24/2014
% Done:

100%

Estimated time:
0.75 h
Spent time:
Distribution:
EOLE 2.4

Description

root@scribe:~# /usr/share/eole/postservice/00_cdt instance
Configuration de Cahier De Textes... Traceback (most recent call last):
  File "/usr/share/php/envole-php/parsedico24.py", line 14, in <module>
    print u'{0}="{1}"'.format(var, value)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 14: ordinal not in range(128)
ERREUR

Pour changer c'est parce que j'ai mis un accent dans mon nom d'établissement...
root@scribe:~# CreoleGet libelle_etab
étab

Associated revisions

Revision 300c7be9 (diff)
Added by Joël Cuissinat almost 9 years ago

  • php/parsedico24.py : encodage forcé en utf-8

Fixes #7180 @30m Thanks: Antislash

History

#1 Updated by Joël Cuissinat almost 9 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#2 Updated by Joël Cuissinat over 8 years ago

  • Status changed from Résolu to Fermé

Modification validée avec le paquet : eole-grr 1.9.7e-eole2-1

run-parts: executing /usr/share/eole/postservice/00_grr reconfigure
Configuration de Grr... OK
run-parts: executing /usr/share/eole/postservice/00_webcalendar reconfigure

Also available in: Atom PDF