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   1475 Views

Avatar
tsp

28 May 2009 at 1:26pm Community Member, 1 Post

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

19 June 2009 at 6:30am Community Member, 395 Posts

i had the same problem.

Avatar
Ricardona

23 June 2009 at 1:08pm Community Member, 26 Posts

This works for me

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

Regards from Colombia

Ricardo