Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: problems with the Cyrillic (windows-1251) (the search doesn't help:))  (Read 4331 times)

0 Members and 1 Guest are viewing this topic.

Nad_F

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27

Hello!
I've installed 1.4.3 (stable) and I have problems with the encoding: when I set Cyrillic (windows-1251) in the config section the gallery displayed in the correct encoding but html code with a JavaScript menu on top of the page, which I have inserted into template.html before {CUSTOM_HEADER} displayed in UTF-8. Moreover, I cannot change encoding in Internet Explorer -when I try to set windows-1251 it reverts to UTF-8 right away.
I have copied “russian_by_Makc666_2006-01-21.zip” from this site and has made necessary changes from here http://forum.coppermine-gallery.net/index.php?topic=24183.0 but it does not help.
I can use only windows-1251 encoding because otherwise general site menu does not work.
Help me please to solve this problem. Beforehand many thanks!
« Last Edit: January 29, 2006, 10:42:23 pm by GauGau »
Logged

Nad_F

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
« Reply #1 on: January 28, 2006, 04:54:04 pm »

Can anyone help me?
Logged

natalina

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 96
    • Interior & Architecture
Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
« Reply #2 on: January 28, 2006, 08:36:01 pm »

I'm afraid it's a stupid version but maybe u edit template & set charset of document to UTF or insert menu in UTF. My advise is -to edit template once more, & set charset MANUALLY to windows. It works for me:)

Nad_F

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
« Reply #3 on: January 28, 2006, 10:10:54 pm »

Hello!
Thank you for your reply! Unfortunately manual specifying of the encoding in files "template.html" and "include/themes.inc.php" doesn't help. If I insert html-code in file themes.inc.php - effect is the same. Moreover the problem is not in the menu - plain text in template.html also displays in UTF-8, I cannot modify it in Internet Explorer. Whereas in Opera 8.5 everything displays correctly.
Can I try something else?
Beforehand many thanks!
Logged

Guerrilla

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
« Reply #4 on: January 29, 2006, 12:05:02 am »

Russian file is available here: http://gallery.slonhome.com/russian.txt
Almost everything is ranslated.

Enjoy ;)
« Last Edit: January 30, 2006, 12:02:29 am by Guerrilla »
Logged

Nad_F

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
« Reply #5 on: January 29, 2006, 11:58:03 am »

Everything works perfectly now!
Big thank you!!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
« Reply #6 on: January 29, 2006, 10:43:58 pm »

Thank you for your reply! Unfortunately manual specifying of the encoding in files "template.html" and "include/themes.inc.php" doesn't help. If I insert html-code in file themes.inc.php - effect is the same.
You weren't meant to edit those files, the encoding is set up in coppermine's config. I'm glad things are solved for you, yet be warned: what you did is a workaround, nothing more. Upgrading will be hard.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.