Skip to content

User import (with csv files) : utf8 and Ansi #2266

@tanchon

Description

@tanchon

Current behavior / Resultado actual / Résultat actuel

If I work from the "example" file downloaded from the Chamilo Platform, I have a problem.
When I try to import users it works fine except that : firstnames or lastnames with special characters are only partially imported => "Stéphane" is imported as "St" ; "Agnès" is imported as "Agn"...

It seems that this "example" file is encoded in "ANSI". I tried to convert it in "utf8" but Chamilo doesn't accept to import it (I have a green message that indicates the file has been imported : but in fact none of the users listed in the file are imported).

If I export a csv file with my current users, it is coded in "utf8" (why is it different form "example" file ?) : if i open this file with notepad, everything seems ok, even special characters (which are not correctly displayed in Excel).
But if I modify the file (in notepad), adding a new user with special character, Chamilo doesn't accept to import it (I have a green message that indicates the file has been imported : but in fact none of the users listed in the file are imported).

Chamilo Version / Versión de Chamilo / Version de Chamilo

1.11.2 and 1.11.4

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions