Author Topic: Problem with Russian text. Please help!  (Read 22968 times)

0 Members and 1 Guest are viewing this topic.

Offline CvPortal

  • Pre-Newbie
  • Posts: 8
    • View Profile
Problem with Russian text. Please help!
« on: March 06, 2006, 04:42:15 AM »
Hello folks,

Just installed this awesome gallery. Everything work perfect but russian text. To be more detailed, russian text works but not for categories list. I added categories in russian. In drop down forms have no problems viewing russian text, also user names work good, and text in navigation menu. The only problem I have is that categories list cant be encoded. For some reason only categories list does not show text correctly and if I click on the category it does not show category name correctly in categories.php?cat_id=x. I changed <meta> tag to <META http-equiv="content-type" content="text/html; charset=windows-1251"> and I'm still having problems with text.

How could I fix this problem. Please, people, help.

Thank you very much.

Offline CvPortal

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #1 on: March 06, 2006, 04:44:04 AM »
Hello folks,

Just installed this awesome gallery. Everything work perfect but russian text. To be more detailed, russian text works but not for categories list. I added categories in russian. In drop down forms have no problems viewing russian text, also user names work good, and text in navigation menu. The only problem I have is that categories list cant be encoded. For some reason only categories list does not show text correctly and if I click on the category it does not show category name correctly in categories.php?cat_id=x. I changed <meta> tag to <META http-equiv="content-type" content="text/html; charset=windows-1251"> and I'm still having problems with text.

How could I fix this problem. Please, people, help.

Thank you very much.

Here's link to show you what I mean: foto.cvportal.net

Offline MadeInUSSR

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #2 on: March 06, 2006, 01:33:40 PM »
may be u should put this <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> but you have <meta http-equiv="content-type" content="text/html; charset=windows-1251"/>  here your problem
**MadeInUSSR**

Offline CvPortal

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #3 on: March 06, 2006, 01:43:00 PM »
Still doesn't work bro.

Offline MadeInUSSR

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #4 on: March 06, 2006, 01:54:15 PM »
а ты проверил в \lang\russian\main.php   $lang['charset'] = "windows-1251";
**MadeInUSSR**

Offline CvPortal

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #5 on: March 06, 2006, 01:55:57 PM »
Угу, такое и стоит

Offline MadeInUSSR

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #6 on: March 06, 2006, 02:03:38 PM »
хм странно.. у меня такое возникает только в том случае если не проставлена кодировка вообще... и в админ панеле тоже показывает такие каракули ну где идет речь о категориях?
**MadeInUSSR**

Offline awf

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #7 on: March 06, 2006, 04:21:14 PM »
у меня тоже самое. поставил версию 1.7.2.
весь интерфейс па русском (где положено), а вот названия категорий в крокозябах, но что интересно, названия подкатегорий читаемые
 

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Problem with Russian text. Please help!
« Reply #8 on: March 07, 2006, 01:37:30 AM »
Проблема в том что новая версия сохраняет всё в UTF-8 кодировке...на данный момент только свеже установленны галереи будут работать без проблем...
Так-что пока эта проблема не решена, я бы советовал не обновлять на v1.7.2 ...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline CvPortal

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #9 on: March 07, 2006, 04:52:20 AM »
Вано. дай плиз ссылку на другую версию которая работает путево.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Problem with Russian text. Please help!
« Reply #10 on: March 07, 2006, 05:27:32 AM »
Путево ни одна версия не работает...точнее, предыдущие версии нужно было править, чтобы правильно поддерживал русский текст. А эта версия поддерживает русский, но пока только на свежих галериях.
Проверь чтобы все .php файлы в lang/russian/ фолдере были в UTF-8 кодировке и чтобы charset был установлен на utf-8:
Code: [Select]
$lang['charset'] = "UTF-8";
Я только что проверил, если всё сделано правильно, то никаких проблем с кодировкой.

а вот на счет апгрейда, то я поговорю с Jan, возможно придумаем какой-нибудь скрипт для перекодирования текста в базе данных...

P.S.
чуть не забыл дать ссылку на v1.7.1
http://www.4homepages.de/forum/index.php?topic=11877.msg63485#msg63485
;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Problem with Russian text. Please help!
« Reply #11 on: March 09, 2006, 12:26:31 AM »
Народ, попробуйте вот эти файлы, мы с Jan'ом проверяли на двух разных серверах, и вроде все работает как надо :)
http://www.4homepages.de/forum/index.php?topic=11924.msg63961#msg63961
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline awf

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #12 on: March 09, 2006, 08:18:48 PM »
Огромное спасибо! Всё работает со старой базой!
+ применил все моды, которые были (Аватар, Топ 25 и Ласт камментс)

Offline CvPortal

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #13 on: March 09, 2006, 11:43:41 PM »
Народ, пасиб за фикс :) Очень благодарен. :wink:

Offline Denzel82

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: Problem with Russian text. Please help!
« Reply #14 on: August 11, 2006, 12:44:14 AM »
Я поставил версию 1.7.3. На локалке никаких проблем, а на сайте http://72.232.62.90/~photosta/ все русские названия категорий заменяются на знаки вопросов. Те фиксы которые вы предложили проблемы не решают. Изменение кодировки в файле main.php тоже.