View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - accents in database - ProjeQtOr
 
 

accents in database

More
04 Nov 2011 07:02 #1 by teiki76
accents in database was created by teiki76
I share the datas stored in the projectorria database with another program written in groovy .

It's all UTF8 everywhere (mysql, jdbc, browsers).

From Projectorria interface, writing something with accents like "é" gives "é" in mysql tables.

Writing "é" from my groovy script in projectorria database gives "é" as result.

If the accents are like "é" in mysql, projectorria web interface displays the data.

If the accents are like "é" in mysql, projectorria web interface does not display the data. The field looks empty while the data exists.

I tried AddCharset in an .htaccess file. No change.

How can I solve that ?

Please Log in or Create an account to join the conversation.

More
04 Nov 2011 10:22 #2 by babynus
Replied by babynus on topic RE : accents in database
Hi,

make sure all your MySql is in utf8 :
SHOW VARIABLES LIKE  'character_set%'
should return something like :
Variable_name              Value
character_set_client       utf8
character_set_connection   utf8
character_set_database     utf8
character_set_filesystem   binary
character_set_results      utf8
character_set_server       utf8
character_set_system       utf8
character_sets_dir         D:\PROGRA~1\EasyPHP\mysql\share\charsets\
If not, be sure my.ini contains
[mysql]
default-character-set=utf8

[mysqld]
default-character-set=utf8
PAY ATTENTION : if you change this setting, existing data previously stored will be affected and not displayed correctly (on Project'Or RIA and any other way such as phpMyAdmin, toad MySql, ...). You will have to update data (throught Project'Or RIA for instance )to have is correctly displayed back.

Regards.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.048 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.