Question

I'm using sfWidgetFormDoctrineChoice to get a list of languages from a MySql database. The list is in spanish language. All languages with special characters like for ex. Árabe looks OK (it got the tilde), but I'm getting the wrong representation (A!rabe) using the widget. How can I resolve this? Thanks in advance.

Was it helpful?

Solution

This is probably an encoding problem: verify that the list of languages registered in your database has the same encoding than the page where you display the widget.

But why don't you use the sfWidgetFormI18nChoiceLanguage widget ?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top