coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Nad_F on January 26, 2006, 09:57:07 PM

Title: problems with the Cyrillic (windows-1251) (the search doesn't help:))
Post by: Nad_F on January 26, 2006, 09:57:07 PM
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!
Title: Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
Post by: Nad_F on January 28, 2006, 04:54:04 PM
Can anyone help me?
Title: Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
Post by: natalina 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:)
Title: Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
Post by: Nad_F 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!
Title: Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
Post by: Guerrilla on January 29, 2006, 12:05:02 AM
Russian file is available here: http://gallery.slonhome.com/russian.txt
Almost everything is ranslated.

Enjoy ;)
Title: Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
Post by: Nad_F on January 29, 2006, 11:58:03 AM
Everything works perfectly now!
Big thank you!!!
Title: Re: problems with the Cyrillic (windows-1251) (the search doesn't help:))
Post by: Joachim Müller on January 29, 2006, 10:43:58 PM
Quote from: Nad_F on January 28, 2006, 10:10:54 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.