text encoding portugese gets scrambled
Posted: 31 October 2006 10:17 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  89
Joined  05-11-2004

I am doing a site in portugese language and installed the language pack. my site uses utf8. I uploaded all files with my ftp client “fetch” and choose not “translate ISO character”. So I presume that the language pack did not get screwed up. But now all the accents of portugese get scrambled to look like this

2    Blogger API     Blogger API Module     --    N�o Instalado    Instalar
3    Coment�rio     Sistema de coment�rios de usu�rios     1.0    Instalado    Remover
4    Email     M�dulo de Email
do Usu�rio     --    N�o Instalado    Instalar
5    Emoticon     M�dulo Emoticon
(carinhas)     1.0    Instalado    Remover
6    Image Gallery     Image Gallery Module

what shall I do. My mysql database is set to use utf8 too with colate utf8.

when I look at the db it looks like

exp_actions                               19    MyISAM    latin1_swedish_ci    2.6 KB    -
    
exp_captcha                               0    MyISAM    latin1_swedish_ci    1.0 KB    -
    
exp_categories                               3    MyISAM    latin1_swedish_ci

saying colate latin1_swedish

where do I have to change something to make it work?

Profile
 
 
Posted: 01 November 2006 01:26 AM   [ Ignore ]   [ # 1 ]  
Professor
Avatar
RankRankRankRankRankRankRank
Total Posts:  29130
Joined  05-15-2004

Look into the language pack, are the accents and characters OK there? It’s clearly an encoding problem with the languagepack.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 01 November 2006 10:35 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  89
Joined  05-11-2004

Dear Ingmar
Yes, even right after dowload to my mac via Safari the language pack, if looked at in a text editor is all scrambled? Does this happen during the download?
What can I do?
Yours
Pierre

Profile
 
 
Posted: 02 November 2006 10:05 PM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  89
Joined  05-11-2004

Dear Support Staff
Actually I tried EVERYTHING and I came to the conclusion that the portugese language pack IS already scrambled on YOUR server. Whatever means I choose to download it it would not arrive with the character set legible on my computer.
I open any file on my Mac, OS X, downoading it with any browser….it arrives with all accented characters scrambled.

Could please please somebody look into this.

Thank you
Pierre

Profile
 
 
Posted: 02 November 2006 11:20 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19291
Joined  06-03-2002

I just downloaded it and the file appears to be fine.  OS X 10.4.8, Safari 2.0.4, using the default archive handler (BOMArchiveHelper).  What application (and version) are you using to decompress the zip file?  You might also try creating a new user on your machine, logging in with that user, and download and unzip it there.

 Signature 
Profile
MSG
 
 
Posted: 09 November 2006 12:48 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Rank
Total Posts:  89
Joined  05-11-2004

dear derek

Now look at this. If I sit on my PC in the office and go to the link
http://pmachine.com/ee/knowledgeblog/language_packs

I get ANOTHER page with a portugese language folder translated by fabio sampaio.
If I go for the same link with Safari
i get a page with a portugese_brazil language pack translated by Rafael Fischman????

If I install the PORTUGESE language pack and choose it in the setting nothing happens.

Any suggestions
Pierre

Profile
 
 
Posted: 09 November 2006 01:04 PM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19291
Joined  06-03-2002

Where are you getting that link from? That’s not even a valid page, which is why it’s bringing up the multi-entry Knowledge Blog.  The language packs are here: http://www.pmachine.com/ee/language_packs/ and I only see the Brazilian Portuguese by Rafael Fischmann.  Are you just changing the default site language and not changing your own language preference in your My Account section?  The site has a default language used for guests, but logged in members each have their own settings.

 Signature 
Profile
MSG
 
 
Posted: 13 November 2006 09:28 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Rank
Total Posts:  89
Joined  05-11-2004

Yeah..I must have “fallen” on the pmachine language pack page..

Anyway, I tried to download the right language pack in portuguese on a PC. But even there it all is shown scambled. I use Pagespinner or textedit to look at the files. On the PC I use Notepad.

I really see no way for me to get the language pack?
Any suggestions?
Yours
Pierre

Profile
 
 
Posted: 13 November 2006 09:48 PM   [ Ignore ]   [ # 8 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19291
Joined  06-03-2002

I have emailed you the language pack that I downloaded and checked myself.  I cannot think of why yours would not successfully display on multiple computers, especially the Mac, as they pretty much handle unicode universally.  Hopefully receiving it via email will allow you to use it.

I think before perhaps you were on this page, which are the language packs for pMachine Pro?

 Signature 
Profile
MSG
 
 
Posted: 13 November 2006 10:29 PM   [ Ignore ]   [ # 9 ]  
Grad Student
Rank
Total Posts:  89
Joined  05-11-2004

Dear Derek
thank you a lot for your help. I tried it all.
Uploaded it directly and decompressing the zipfile on the server. My login looks like this

login picture

and it even crashes EE. If I login it does not work. I have to first delete de faulty language pack to continue.

Yours
Pierre

Profile
 
 
Posted: 13 November 2006 11:29 PM   [ Ignore ]   [ # 10 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19291
Joined  06-03-2002

Email me FTP and SuperAdmin control panel access to your site if you like, Pierre, I’ll take a look at it in the morning and see what’s going on.  The only thing I can think of at this point would be an ISP-level virus filter / firewall that is examining and perhaps altering the file en route to your desktop.  If possible, I’ll upload the language pack from my machine and hopefully get it working for you.

 Signature 
Profile
MSG
 
 
Posted: 14 November 2006 10:17 AM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19291
Joined  06-03-2002

Interesting; the file is being transferred correctly, and most characters display correctly.  The ones that do not are puzzling.  I suspect that they will need to be converted to numeric entities to work.  As far as why they would show up in your own text editors incorrectly is another puzzle and I’m afraid does nothing but confuse matters.  I’m sorry that I was not able to help you; I would suggest that you contact the language pack author to see if he has an updated version.  That particular language pack is missing many key files, as it was created for ExpressionEngine 1.2.1, so much work would be need to be done on it to give you everything you need.

You are certainly welcome to translate the English into a working Portuguese pack and submitting it to the language pack library, as I’m sure others could benefit from an accurate and complete translation as well.

 Signature 
Profile
MSG
 
 
Posted: 17 November 2006 01:45 PM   [ Ignore ]   [ # 12 ]  
Grad Student
Rank
Total Posts:  89
Joined  05-11-2004

Dear Derek
For my own 5 minutes of fame I am really considering translating your language pack. Just give me a hint how I should do that.
Also, Is there any form of remuneration?

I contacted Rafael Fischman, who unfortunately started working with open source tools (brazil being a poor country with a week currency grin, which make EE an expensive solution).

But…depending on the amount of work I could translate it.

Also..I saw that there is no more portuguese version for download.
Yours
Pierre

Profile
 
 
Posted: 17 November 2006 02:54 PM   [ Ignore ]   [ # 13 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19291
Joined  06-03-2002

We decided that old language packs that were no longer being updated didn’t serve a very useful purpose for our users, so we removed all of them that had not been updated since ExpressionEngine 1.4.  To create your own translation, you can use the Translation Utility.  The language packs are all voluntarily translated and submitted and not an officially maintained resource performed by contract for hire, so no, there is no compensation other than the gratitude of like-lingual users, name recognition, and a link back to your site.

 Signature 
Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120137 Total Logged-in Users: 75
Total Topics: 126283 Total Anonymous Users: 29
Total Replies: 664157 Total Guests: 304
Total Posts: 790440    
Members ( View Memberlist )