Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

Ñ character not showing in silverstripe


Reply


3 Posts   1543 Views

Avatar
tsp

Community Member, 1 Post

28 May 2009 at 1:26pm

Hello,

I'm retrieving some data from the database, and there's some mexican characters on it. Specifically, the Ñ character. The problem is that silverstripe is not showing it and instead it's showing a weird sign (this one, i'm not sure if it's gonna show up ok in the forum "�"). The data in the database it's fine (I checked with phpmyadmin and the Ñ chars are there). I tried putting ContentNegotiator::set_encoding('utf-8'); on _config.php and that didn't help.

Any ideas ?. Any help would be appreciated.

Regards.

--
tsp

Avatar
Nivanka

Community Member, 400 Posts

19 June 2009 at 6:30am

i had the same problem.

Avatar
Ricardona

Community Member, 26 Posts

23 June 2009 at 1:08pm

This works for me

http://www.silverstripe.org/dataobjectmanager-module-forum/show/262369#post262369

Regards from Colombia

Ricardo