Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 Database returns empty strings if they contain non-english (accent or any non-english) chars.

Unknown
open
nobody
5
2013-08-27
2013-08-27
Carlos Revilla
No

When I enter a string in any textbox, when editing or creating a survey/question/answer with any latin character (á-ú, ñ, Ñ, etc), after clicking on "save" the value is stored correctly in MySQL. If I pull the same survey/question/answer later on, the database returns an empty string. Using PhPMyAdmin, I checked and the table in the databaser holds the value, with the latin chars properly stored, but on the source code, there is nothing.

Discussion

  • Carlos Revilla
    Carlos Revilla
    2013-08-27

    Additional Info:
    I tested this on my windows machine, using XAMPP and also in a hostgator server with linux. In both cases, the behaviour is the same: data stored in the database with latin chars won't be shown on the page, the class returns an empty string.