Author Topic: Encoding issues  (Read 3779 times)

dmartin

  • Newbie
  • *
  • Posts: 1
    • View Profile
Encoding issues
« on: October 06, 2011, 07:34:34 am »
I have just installed FO 2.0 beta2 for the very first time on Ubuntu Server 11.10 (upgraded beta). Installation went fine but just when changing default locale in config.php from en_us to es_es I got garbled UTF-8 strings even in the login screen. Some non-ASCII characters display right while other don't:

- META for UTF-8 seems to be right in HTML page code.
 
    Conexión
    Email o usuario:
    Contraseña:
    Recordarme durante 14 días
    (Olvidó su contraseña?) Opciones

- Strings 1, 3, 4 are OK (ó in "Conexión", ñ in "Contraseña" and í in "días")
- String 5 is garbled (It should be "Olvidó su contraseña")

Same behaviour is observed inside the app in the first screens I have tried so far. I'm showing the login screen for its simplicity.

Regards
David

PS: Hmmm! FOUND!
language/es_es/site_interface.php is faulty!

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Encoding issues
« Reply #1 on: October 15, 2011, 12:36:05 pm »
Thanks for your input! Please keep in mind it still is a BETA, so there prolly are several bugs out there, as well as language issues.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

carloscapote

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: Encoding issues
« Reply #2 on: December 27, 2011, 09:36:32 am »
I've made some corrections to the site_interface.php. Just charset corrections. I'm attaching the corrected version for the beta3. If you replace the original language/es_es/site_interface.php with the one I'm attaching, you'll see the Spanish characters correctly.   :)

Best regards,
Carlos