You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2017-10-01 23:38:33

lexcorp
Member
Registered: 2014-09-17
Posts: 64

[SOLVED]Plugin Web Service charset problem

Hello, the answers from the web service plugin shows me some incorrect characters, accents and tildes:

webserviceerror.png

My apache server is configured with UTF-8 encoding: AddDefaultCharset UTF-8

Last edited by lexcorp (2017-10-04 07:29:57)

Offline

#2 2017-10-02 07:17:41

lexcorp
Member
Registered: 2014-09-17
Posts: 64

Re: [SOLVED]Plugin Web Service charset problem

My php.ini it's ok: default_charset = "UTF-8"

Offline

#3 2017-10-03 03:23:36

lexcorp
Member
Registered: 2014-09-17
Posts: 64

Re: [SOLVED]Plugin Web Service charset problem

More characters instead of: á, é, í, ó, ú, ñ, ejecución, dañado, depuración

charset.jpg

Offline

#4 2017-10-04 07:29:15

lexcorp
Member
Registered: 2014-09-17
Posts: 64

Re: [SOLVED]Plugin Web Service charset problem

Hello, I already found the solution: Add 'utf-8' to xmlrpc_decode

$response = xmlrpc_decode($file, 'utf-8');

Offline

Board footer

Powered by FluxBB