Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 26. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Does not display data with accents

phpMyEdit General     Does not display data with accents
Odoslať novú tému   Odpovedať na tému    
 
raffaelssp     Založený: 31.12.2014   Príspevky: 2  
Príspevok Zaslal: 2014-12-31 19:29
Návrat hore  Odpovedať s citátom     

I'm in trouble, for every field that has accents does not display returns empty


How to fix this error

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2014-12-31 21:03
Návrat hore  Odpovedať s citátom     

Empty? Or with strange characters?

Maybe an issue with encoding if strange characters:
http://archive.oreilly.com/pub/post/turning_mysql_data_in_latin1_t.html

Post a link to an example, or a link to screen shot image.

 
raffaelssp     Založený: 31.12.2014   Príspevky: 2  
Príspevok Zaslal: 2015-01-01 13:48
Návrat hore  Odpovedať s citátom     

Example:

https://drive.google.com/file/d/0B7-V-Arm2QrOTmJoNENCbWtURXM/view?usp=sharing

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2015-01-01 20:13
Návrat hore  Odpovedať s citátom     

Post some code, like the field definitions.
http://opensource.platon.org/projects/doc.php/phpMyEdit/html/configuration.fields.html

 
scameron@siu.edu     Založený: 18.03.2013   Príspevky: 1  
Príspevok Zaslal: 2015-01-10 23:21
Návrat hore  Odpovedať s citátom     

I believe I am having the same problem. For example a column that contains a degree symbol shows empty in phpmyedit.

U+00B0 ° c2 b0 DEGREE SIGN

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2015-01-10 23:38
Návrat hore  Odpovedať s citátom     

These issues are almost always related to encoding errors (and NOT to phpMyEdit).

http://www.toptal.com/php/a-utf-8-primer-for-php-and-mysql

http://archive.oreilly.com/pub/post/turning_mysql_data_in_latin1_t.html

 
dogsbreath1     Založený: 04.03.2015   Príspevky: 2  
Príspevok Zaslal: 2015-03-04 17:51
Návrat hore  Odpovedať s citátom     

I had this problem today and the solution is:

1. Replace each 'htmlspecialchars(...)' with 'fhtmlspecialchars(...)'

2. Add the function 'fhtmlspecialchars':
function fhtmlspecialchars($myString) {
// in PHP 5.4 the default encoding used by htmlspecialchars() was changed.
return htmlspecialchars($myString, ENT_COMPAT, 'ISO-8859-1', true);
}

Thank you Atara.H.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov