Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Charset problem after update 1.3.2 to 1.4.4  (Read 4592 times)

0 Members and 1 Guest are viewing this topic.

mEErEck

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Charset problem after update 1.3.2 to 1.4.4
« on: March 19, 2006, 12:00:08 am »

Hello,
i have finally decided to update my coppermine gallery from 1.3.2 to 1.4.4.
I followed instructions in the Documentation and updated gallery works.
I use czech lang file that comes with cpg144 package and I have strange problem with charset :
Czech special characters in category, gallery names and in comments are not showed correctly ffter gallery update.
I also tried English lang file with combination of various Character encoding, but problem hasnt been solved.
I am sure it depends on mysql database charset (SET NAMES...), but I dont know how should I correct it.
Would anyone be so kind and help me out?
Thank you very much, best regards M.
« Last Edit: March 19, 2006, 11:19:00 pm by GauGau »
Logged

mEErEck

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Charset problem after update 1.3.2 to 1.4.4
« Reply #1 on: March 19, 2006, 06:04:40 pm »

Problem has been solved.
I converted the czech language file from utf8 to windows-1250 and everything works well now.
Logged

LACA Rio

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
  • I'd rather be diving
    • LACA
Re: Charset problem after update 1.3.2 to 1.4.4
« Reply #2 on: July 17, 2006, 04:02:45 pm »

Hi,

I have the same problem with my brazilian-portuguese language.
How did you converted  the language ?

[]s,

Luiz
Logged
Luiz Araujo

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Charset problem after update 1.3.2 to 1.4.4
« Reply #3 on: July 18, 2006, 07:06:57 am »

Don't do as suggested, converting the language file is not the best idea. You'll need a converter/editor that is capable to convert the file.
Logged

LACA Rio

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
  • I'd rather be diving
    • LACA
Re: Charset problem after update 1.3.2 to 1.4.4
« Reply #4 on: July 18, 2006, 02:45:29 pm »

Hi Gaugau,
Converter/editor? Could you give me more details?  Which one you recommend?
As I said in other topic, after the upgrade, I found problems to read some characters (ç,ã,ó,á,ô,õ,é,í,etc...) in my database. I already fix the problem in one gallery (www.cagarras.com.br/galeria) by retyping all characters but there must be an easy way to do it. I need to fix another one: www.clubedosmarimbas.com.br/galeria.
Both were invaded (cpg1.3.5) by hackers to pratic phishing.
Thanks for any help.
Logged
Luiz Araujo

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Charset problem after update 1.3.2 to 1.4.4
« Reply #5 on: July 18, 2006, 03:32:50 pm »

Which one you recommend?
Any editor is fine that is capable to handle utf-8. Go for notepad.exe if you want. Can't really recommend anything, as I (as a dev) have other preferences in editors as you (as a one-time user). It wouldn't help you if I told you which editors I use, as some of them are available in German only.
However (as I already said: converting from utf-8 to iso8859-1 is not recommended at all. Afaik you have already been told what you need to do on the other thread...
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.