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 2005-06-03 16:47:02

megabrain
Member
Registered: 2005-06-03
Posts: 35

Two Questions

Hi All
Fist I would like to say: Thank you! This is a really great app.

And now 2 questions :

1. Is it planned in the future version of GLPI to add database driven "Contact Person" managment ? It could be very helpful for reporting of all equipment for exactly choosed person.

2. Does anyone know there is a way to display properly ISO-8859-2 character set ? I can add data with this set, in database all is ok, but on screen no.

Thanks for any informations
Greetings from Poland smile

August

Offline

#2 2005-06-03 17:33:34

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Two Questions

hello

Answer 1 : yes it's planned but when we don't know.

Answer 2 : I think you could modify this file :  glpi/glpi/common/functions.php

Lines :  453, 624.734

Replace
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1 \" >";

By

echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-2 \" >";


We are very proud to know that glpi was used in Poland wink


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#3 2005-06-06 16:00:44

megabrain
Member
Registered: 2005-06-03
Posts: 35

Re: Two Questions

JMD wrote:

Answer 1 : yes it's planned but when we don't know.

Great to know smile

JMD wrote:

Answer 2 : I think you could modify this file :  glpi/glpi/common/functions.php

I am afraid it doesn't help at all sad Of course default coding on the page changed to iso-88859-2, data in database is in iso-8859-2, but while display it is not. Strange is while I entering data, they are on my native lang. After "update" button data are written to database witch correct character set. But in the moment i click "update" and looko on data on web page, they are on iso-8895-1.

JMD wrote:

We are very proud to know that glpi was used in Poland wink

Just because it is really great piece of work ! smile

Offline

#4 2005-06-06 16:51:57

baaz
Member
Registered: 2004-09-13
Posts: 513

Re: Two Questions

I am afraid it doesn't help at all sad Of course default coding on the page changed to iso-88859-2, data in database is in iso-8859-2, but while display it is not. Strange is while I entering data, they are on my native lang. After "update" button data are written to database witch correct character set. But in the moment i click "update" and looko on data on web page, they are on iso-8895-1.

Not sure but I think it comes from htmlentities functions that doesn"t support iso-8859-2 charset...
Each data entered to the db  pass thru an htmlentities filter, and other string redimension scripts and this for security issues.

I see a solution that consist to force UTF-8 usage...
But there is no more solution (if what i sayed is right) so wait and see...

(see http://www.php.net/manual/en/function.htmlentities.php for more informations about charset support).

Last edited by baaz (2005-06-06 16:52:33)


Bazile Lebeau

Offline

#5 2005-06-06 17:06:45

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Two Questions

maybe using UTF8 will solved the problem.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#6 2005-06-06 23:36:46

megabrain
Member
Registered: 2005-06-03
Posts: 35

Re: Two Questions

Yeah, i've just read about htmlentities, and I think that is the problem. I'll try UTF-8 smile
Anyway, thanks for your time smile

Offline

#7 2005-12-21 00:43:04

macieh
Member
From: Gdansk, Poland
Registered: 2005-11-18
Posts: 10

Re: Two Questions

Hi,

Megabrain - can you tell me what you did to got properly our polish encoding?! wink
You could help me translating into our polish mother tongue - recently I don't have time to translate but with little help we could make it done.


Greetings from Poland smile
Best Regards
--
macieh

Offline

#8 2005-12-25 23:28:50

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Two Questions

The 0.6 version solved this probleme using the UTF-8 encoding


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB