Special Characters show up default_languag.php

13 years 9 months ago #136985 by bossaxe
Hi,

I am altering the last few changes into Portuguese language. I installed the language pack thought it would change the hard coded parts of the website but I guess not. So I am manually changing the TEXT on components/com_comprofiler/plugin/language/default_language/default_language.php

into Portuguese language; however, certain charcaters show up oddly.

EXAMPLE: "Opção" shows up like this "Op��o"

Any help?

Thank you best regards,

Post edited by: bossaxe, at: 2010/07/02 02:08

Please Log in to join the conversation.

13 years 9 months ago #136986 by bossaxe
I fixed this. sorry...Don't need help now.

Please Log in to join the conversation.

13 years 9 months ago #136995 by nant
bossaxe wrote:

So I am manually changing the TEXT on components/com_comprofiler/plugin/language/default_language/default_language.php


This is the wrong way to make such changes because the next CB upgrade will overwrite this file.

You need to create a language plugin to do this.

Please Log in to join the conversation.

13 years 8 months ago #138416 by lidia
Hi. I have the problem with the special character.
Are you able to fix it?

Thanks for your attention.

Please Log in to join the conversation.

13 years 8 months ago #138421 by nant
lidia wrote:

Hi. I have the problem with the special character.
Are you able to fix it?

Thanks for your attention.


Most likely file needs to be utf-8 encoded.

Please Log in to join the conversation.

13 years 8 months ago #138998 by bossaxe
Yes, utf-8 is the correct answer, another simple way around is to copy and paste directly from google search browser the correct "Acento" (character). Into your php file.
EXAMPLE ENGLISH word (production) I copy and paste from google translate (produção) and wala...no character problem. (I typed manually the characters and there was a problem)

Once I did that i didn't have any further problems.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.198 seconds

Facebook Twitter LinkedIn