Use
GitHub to post bug reports and error descriptions for
phpwcms .
Describe your problem detailed!
fozzy
Posts: 11 Joined: Fri 26. Mar 2004, 03:47
Post
by fozzy » Fri 26. Mar 2004, 04:06
when i make EDIT ARTICLE, i see in WYSIWYG - "ïðèìèòå íàøè ïîçäðàâëåíèÿ!!!"
my defaul charset "windows - 1251", used russian lang...
PS sorry for lang. ))
Jérôme
Posts: 481 Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:
Post
by Jérôme » Fri 26. Mar 2004, 09:37
And what do you expect to see?
Which of WYSIWYG-Editors are you using (you look it up in your conf.inc.php? (HTMLArea, FCKeditor)
fozzy
Posts: 11 Joined: Fri 26. Mar 2004, 03:47
Post
by fozzy » Fri 26. Mar 2004, 13:46
$phpwcms["wysiwyg_editor"] = 3; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
i expect to see instead of "ïðèìèòå íàøè ïîçäðàâëåíèÿ!!!"
Jérôme
Posts: 481 Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:
Post
by Jérôme » Fri 26. Mar 2004, 14:11
You could try setting the charset-property in conf.inc.php to your "windows-1251". I don't know if this will have any effect...
Or perhaps change everything to UTF-8 - this should cover all "foreign" chars.
fozzy
Posts: 11 Joined: Fri 26. Mar 2004, 03:47
Post
by fozzy » Fri 26. Mar 2004, 14:44
no, its not work..((
can i set charset for editor only?
Jérôme
Posts: 481 Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:
Post
by Jérôme » Fri 26. Mar 2004, 14:47
I don't know where this "browser based" editor is located, but if it is one of the editors included in phpwcms, search the folder "include/inc_ext" for configuration files. In these you should find language settings.
Or: try to use one other of the editors...
ionrock
Posts: 279 Joined: Fri 20. Feb 2004, 17:04
Post
by ionrock » Fri 26. Mar 2004, 15:04
Maybe try Unicode?
That is all I could think of, hope it might help.
fozzy
Posts: 11 Joined: Fri 26. Mar 2004, 03:47
Post
by fozzy » Fri 26. Mar 2004, 16:02
no... problem still open :(
Jérôme
Posts: 481 Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:
Post
by Jérôme » Fri 26. Mar 2004, 16:05
Perhaps the editors just do not support russian chars, so that you will have to use the non-richtext-mode...
fozzy
Posts: 11 Joined: Fri 26. Mar 2004, 03:47
Post
by fozzy » Fri 26. Mar 2004, 16:31
can i put in phpwcms other editor?
ionrock
Posts: 279 Joined: Fri 20. Feb 2004, 17:04
Post
by ionrock » Fri 26. Mar 2004, 17:56
Yeah, check the include/inc_ext/ where all the editor code is and then check the include/inc_lib/ article files to see where they have a switch for the editor based on what is chosen so you can add it there whenever you have chosen one.
fozzy
Posts: 11 Joined: Fri 26. Mar 2004, 03:47
Post
by fozzy » Fri 26. Mar 2004, 18:11
i have no problem with charset iso-8859-1, but why they dont work with windows 1251???
fozzy
Posts: 11 Joined: Fri 26. Mar 2004, 03:47
Post
by fozzy » Fri 26. Mar 2004, 18:14
thanks!!!
visionaire
Posts: 3 Joined: Tue 30. Mar 2004, 02:39
Location: tr
Contact:
Post
by visionaire » Tue 30. Mar 2004, 02:47
i have this problem in turkish language
i change the code in fckeditor.editor.inc
Code: Select all
$grstr = htmlentities( $this->Value ) ;
to
Code: Select all
$grstr = htmlspecialchars( $this->Value ) ;
and my problem is solved.
i hope this change dont cause another problem
any ideas ?
pSouper
Posts: 1552 Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:
Post
by pSouper » Tue 30. Mar 2004, 10:18
I think the specialchars is used to ensure that code is not passed via field entries that could be use to hack your site.
although i have not looked at the function you reffer to to see just how far this could compromise your site.
I also think that thier must be an accepted workable fix for this issue other wise most of the world would have to decide whether to have a site in their language OR to have it secure