English version - [Other] UFT-8 encoding
evilmc - 02-10-2008, 21:09 Temat postu: [Other] UFT-8 encoding I changed encoding for the entire base of the Forum utf8_unicode_ci and also lang_main.php I put $ lang [ 'encoding'] = 'utf-8', but now I have a problem with the letters ¹-© , ¾-®...and instead of the characters put questions.
www.serbianunderground.com/forum/
Is someone knows how to resolve this problem?
[ Added: 02-10-2008, 23:57 ]
I am sorry to writing again,
Is someone knows how to resolve this problem?
tosiek - 03-10-2008, 14:08
evilmc napisa³/a: | lang_main.php |
If you want to use utf8 all you need to convert files to utf8 for example, by using a program
http://www.gzegzolka.com/?m=down ( convert all lang files )
evilmc napisa³/a: | $ lang [ 'encoding'] = 'utf-8' |
Change:
Kod: | setlocale(LC_ALL, 'pl_PL.utf-8');
$lang['ENCODING'] = 'utf-8'; |
pl_PL << change to your language
evilmc - 03-10-2009, 19:38
Now, I have a problem with the letters ©-¹, all other works.
pls help
Original letters:
Cytat: | Ako imate problema sa aktivacijom va¹eg naloga prilikom registracije, molimo vas da nam pi¹ete na email: evil@serbianunderground.com i sredięemo Va¹ problem.[/b] |
Bad letters:
Cytat: | Ako imate problema sa aktivacijom va�Aeg naloga prilikom registracije, molimo vas da nam pi�Aete na email: evil@serbianunderground.com i sredięemo Va�A problem. |
tosiek - 03-10-2009, 21:22
Only with this letters?
copy bad and paste:
Cytat: | UPDATE phpbb_posts_text SET post_text = REPLACE(post_text,'bad','original'); |
example:
Cytat: | UPDATE phpbb_posts_text SET post_text = REPLACE(post_text,'�A','¹'); |
Before make backup of a database!
evilmc - 04-10-2009, 00:59
tosiek napisa³/a: | Only with this letters? |
yes.
tosiek napisa³/a: | copy bad and paste:
Quote:
UPDATE phpbb_posts_text SET post_text = REPLACE('post_text','bad','original');
example:
Quote:
UPDATE phpbb_posts_text SET post_text = REPLACE('post_text','�A','¹');
Before make backup of a database! |
Not working
tosiek - 04-10-2009, 09:54
Ooo, sorry. fixed:
Cytat: | UPDATE phpbb_posts_text SET post_text = REPLACE(post_text,'old','new'); |
evilmc - 04-10-2009, 13:36
tosiek, post text it's okey, but topic and main forum have problems.
check this topic:
www.serbianunderground.com/forum/-vt8078.htm
¹¹¹¹¹¹ not working, ©©©©©©©© working :S
tosiek - 04-10-2009, 14:23
evilmc, you must change all text or char columns
Cytat: | UPDATE phpbb_posts_text SET post_subject = REPLACE(post_subject,'old','new'); |
&
Cytat: | UPDATE phpbb_topics SET topic_title = REPLACE(topic_title,'old','new'); |
&
Cytat: | UPDATE phpbb_topics SET topic_title_e = REPLACE(topic_title_e,'old','new'); |
siper - 04-10-2009, 15:47 Temat postu: Re: UFT-8 encoding
evilmc napisa³/a: | I changed encoding for the entire base of the Forum utf8_unicode_ci and also lang_main.php I put $ lang [ 'encoding'] = 'utf-8', but now I have a problem with the letters ¹-© , ¾-®...and instead of the characters put questions.
www.serbianunderground.com/forum/
Is someone knows how to resolve this problem?
[ Added: 02-10-2008, 23:57 ]
I am sorry to writing again,
Is someone knows how to resolve this problem? | '
Forum not working...
evilmc - 04-10-2009, 19:09 Temat postu: Re: UFT-8 encoding
siper napisa³/a: | evilmc napisa³/a: | I changed encoding for the entire base of the Forum utf8_unicode_ci and also lang_main.php I put $ lang [ 'encoding'] = 'utf-8', but now I have a problem with the letters ¹-© , ¾-®...and instead of the characters put questions.
www.serbianunderground.com/forum/
Is someone knows how to resolve this problem?
[ Added: 02-10-2008, 23:57 ]
I am sorry to writing again,
Is someone knows how to resolve this problem? | '
Forum not working... |
Forum now working.
[ Added: 05-10-2009, 02:08 ]
tosiek napisa³/a: | evilmc, you must change all text or char columns
Cytat: | UPDATE phpbb_posts_text SET post_subject = REPLACE(post_subject,'old','new'); |
&
Cytat: | UPDATE phpbb_topics SET topic_title = REPLACE(topic_title,'old','new'); |
&
Cytat: | UPDATE phpbb_topics SET topic_title_e = REPLACE(topic_title_e,'old','new'); |
|
i update this sql, but not working
www.serbianunderground.com/forum/-vt8078.htm
|
|
|