View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Problem with "accents" with export and import database with PhpMyAdmin - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Problem with "accents" with export and import database with PhpMyAdmin

More
23 Mar 2017 14:11 - 23 Mar 2017 14:40 #1 by dnaton
Hello,

I realised an export of my database using PhpMyAdmin with the standard parameters for "jeu de caractère du fichier



As result, I lost all characters like é à ' ù , etc. Here are some exemples
  • Distribués
  • Test de l#39;environnement

What do I make for choice in the list to keep theses characters ? Here is what I have in the list




And when I import, does my choice be the same as for export ?

Thanks for help :-)

Regards,
Damien
.
ProjeQtOr v11.0.1 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : Personalized Translation 1.5 - Customization of screen 6.6
Attachments:
Last edit: 23 Mar 2017 14:40 by dnaton.

Please Connexion or Create an account to join the conversation.

More
23 Mar 2017 15:54 #2 by krowry
Hello dnaton ,

Normally , you have to choose the format UTF-8 but ... If your database is not in format UTF-8 it's a little problem .

Since 4.4 , all database are in format utf-8 but if your database is older than 4.4 it's possible that it's not utf-8 .
Then , if in utf-8 you have problem , you can use the format windows1252 or iso8859-15.

For the export it's the same format than the import.

Please Connexion or Create an account to join the conversation.

More
28 Mar 2017 11:32 #3 by dnaton
Hello Krowry,

Thanks for your answer.

I'm a little bit confused when I take a look on my Database, and what is store, displayed, and exported.

Here is some example, to try to understand what I say

What is displayed for the user :

The data store in Database (PhpMyAdmin) :

The structure for this field in the Database :

What is exported with a dump :
  • I exported with /*!40101 SET NAMES latin1 */; or /*!40101 SET NAMES utf8 */;
  • It is the same result

All my tables (without exception) in the Database are like this example :



But I've this information at the end of the list of all the tables :




So, I don't understand anymore :blush:
  • Why it is good displayed but not good stored ? (and how it is possible ?)
  • What are the good parameters (and where iput them) to export correctly what is displayed
  • Is there a way to correct what is stored in the Database ?

I know, there is a lot of questions ;)

Thanks

Regards,
Damien
.
ProjeQtOr v11.0.1 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : Personalized Translation 1.5 - Customization of screen 6.6

Please Connexion or Create an account to join the conversation.

More
28 Mar 2017 11:44 - 28 Mar 2017 11:45 #4 by babynus
You database is in Latin 1, so I guess you should export in Latin 1 to get correct display of accents.
What happens is that you store UTF8 characteres in non UTF8 database.
This is not blocking for ProjeQtOr as this just characters stored are correctly understood as UTF8, so correctly displayed.


Other solutions :
1) use our plugin "Backup Database". As is uses internal ProjeQtOr connection, you should get correct result.
2) export as is with phpMyAdmin and convert file afterwards using notepad++

Babynus
Administrator of ProjeQtOr web site
Last edit: 28 Mar 2017 11:45 by babynus.

Please Connexion or Create an account to join the conversation.

More
02 Mar 2018 15:19 #5 by service_informatique
Hello,

I have exactly the same problem as dnaton.
I want to transfer my projeqtor database to another server.
Whether I use mysqldump or phpmyadmin, whether my target server is mysql or mariadb, projeqtor does not display accented characters but characters in utf8.
The target and source servers have been installed in the same way.

Thanks to reply.

Please Connexion or Create an account to join the conversation.

More
02 Mar 2018 15:39 #6 by babynus
In most case it is because your db is not really storing UTF-8.
Check your dump file with notepad++ and look for accentuated characters.
If they are not displayed correctly, still with notepad++
=> Menu Encode > Convert to ANSI (file format should be ANSI, but accentuated characters not changed)
=> Menu Encode > Encode to UTF-8 (file format should be UTF-8 and accentuated characters correctly displayed)

Now you can import this file, PRojeQtOr will show correctly accentuated characters

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.113 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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