Previous Thread
Next Thread
Print Thread
Hop To
#42332 10/06/2004 12:05 PM
Joined: Oct 2004
Posts: 34
R
newbie
newbie
R Offline
Joined: Oct 2004
Posts: 34
Helloy. I have a problem: (sorry, bad english)
I edit in Control Panel "General Display Option" and after click "Update...." (see pic label1)
When i have this(see pic label2) in my header.php (use russian languages windows-1251)
Is fixed when i re-upload header.php

Site: forum.littleone.ru Ubbthreads 6.5

Thank you.
Attachments
39246-prob.zip (0 Bytes, 174 downloads)

Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
Your character encoding should not be done in display options or header.php

You should do it in the languages file. Use the language editor, edit generic.php, look for the string named "CHARSET" which should be the second string from teh top in the on line editor. By default it reads iso-8859-1. You will want to change it to windows-1251 for Cryllic.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Oct 2004
Posts: 34
R
newbie
newbie
R Offline
Joined: Oct 2004
Posts: 34
Thanks, but not ok <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" />
1. Use the language editor, edit generic.php (See pic: Step 1)
2. Edit (See pic: Step 2)
it's ok, but then i go in General Display Option" click "Update...." and ...i have the same problem (see pic: header)

Also: See pictures Step 3 and Step 4. (See "Member title)
Step 3 is this show title now (not russian <img src="https://www.ubbcentral.com/boards/images/graemlins/smirk.gif" alt="" /> )
Step 4 is then i click update "user info" (very not russian <img src="https://www.ubbcentral.com/boards/images/graemlins/grin.gif" alt="" />)
Attachments
39275-problem.zip (0 Bytes, 160 downloads)

#42335 10/07/2004 11:19 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
When viewing the source of those pages, what does it show for the character encoding?

#42336 10/07/2004 12:47 PM
Joined: Oct 2004
Posts: 34
R
newbie
newbie
R Offline
Joined: Oct 2004
Posts: 34
Please see: www.forum.littleone.ru
and for example see profile for user "Lish" (title)
If i change anything from "My home" it's ok, but if i work in Control Panel, i have problem with encoding in all (all that write on russian languges).

see html-code this page (&#241;&#224;&#233;&#242; &#228;&#235;&#255; &#240;&#238 .... etc)

Last edited by recrut2003; 10/07/2004 12:51 PM.
#42337 10/07/2004 11:26 PM
Joined: Oct 2004
Posts: 34
R
newbie
newbie
R Offline
Joined: Oct 2004
Posts: 34
&#1069;&#1081;, &#1072;&#1091;, &#1084;&#1086;&#1078;&#1077;&#1090; &#1079;&#1076;&#1077;&#1089;&#1100; &#1077;&#1089;&#1090;&#1100; &#1087;&#1072;&#1088;&#1085;&#1080; &#1075;&#1086;&#1074;&#1086;&#1088;&#1103;&#1097;&#1080;&#1077; &#1087;&#1086;-&#1088;&#1091;&#1089;&#1089;&#1082;&#1080;, &#1072;?
&#1040; &#1090;&#1086; &#1079;&#1086;&#1076;&#1086;&#1083;&#1073;&#1072;&#1083;&#1086; &#1084;&#1077;&#1085;&#1103; &#1091;&#1078;&#1077; &#1087;&#1091;&#1095;&#1080;&#1090;&#1100; &#1084;&#1086;&#1079;&#1075; &#1079;&#1072; &#1087;&#1077;&#1088;&#1077;&#1074;&#1086;&#1076;&#1086;&#1084;.

#42338 10/07/2004 11:29 PM
Joined: Oct 2004
Posts: 34
R
newbie
newbie
R Offline
Joined: Oct 2004
Posts: 34
and i change all ISO-8859-1 on windows-1251.
Only in directory "ci_builders" not change. I don't know for what this directory

#42339 10/07/2004 11:43 PM
Joined: Oct 2004
Posts: 34
R
newbie
newbie
R Offline
Joined: Oct 2004
Posts: 34
And see this. Header - bad encoding after update from conrol panel, but footer it's ok.
Attachments
39320-also.zip (0 Bytes, 176 downloads)

#42340 10/08/2004 11:14 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Do you have *your* language prefs set to russian or is it english while you are translating?

Joined: Oct 2004
Posts: 34
R
newbie
newbie
R Offline
Joined: Oct 2004
Posts: 34
I copy "english" directory, rename in "russian" and translate. (See foto (Mysql w3t_languages, Generic.php in Russian, etc) )

I not translate "admin".
PS: (in languages/russian/admin/generic.php not label CHARSET it's ok? )

I not finished translating.
Attachments
39341-problem.zip (0 Bytes, 159 downloads)

#42342 11/30/2004 10:16 AM
Joined: Oct 2004
Posts: 34
R
newbie
newbie
R Offline
Joined: Oct 2004
Posts: 34
Problem with encoding in this tag: htmlentities

For example (admin/showusers.php)
Close( // ) this line:
// $usertitle = htmlentities($usertitle);

and no problem with encoding



For example (admin/viewboard.php):
Close this line
// $line = htmlentities($line);

and no problem with encoding
--------
$headerfile ="";
$fd = @file("{$config['path']}/includes/header_$Keyword.php");
if ($fd) {
while (list($linenum,$line) = each($fd)) {
$line = htmlentities($line);
$headerfile .= "$line";
}
}
-------------


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
0 members (), 1,034 guests, and 189 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)