FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » International characters in forum name..
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
International characters in forum name.. [message #26134] Wed, 06 July 2005 06:14 Go to next message
willy is currently offline  willy   Hungary
Messages: 24
Registered: March 2005
Karma: 0
Junior Member
I try to create forum wich name contains international characters (iso8859-2) like "ő" or "ű" but htmlspecialchars modify #&337; to #&337;.
Have any idea to prevent this situation?
Re: International characters in forum name.. [message #26140 is a reply to message #26134] Wed, 06 July 2005 13:16 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Change the charset to iso8859-2

FUDforum Core Developer
Re: International characters in forum name.. [message #26155 is a reply to message #26140] Wed, 06 July 2005 18:49 Go to previous messageGo to next message
willy is currently offline  willy   Hungary
Messages: 24
Registered: March 2005
Karma: 0
Junior Member
Hello,

This was what i do first. I create new theme, with new charset. This not solution. I checked page is iso8859-2, but from imput form
"ő" still &#337 and if i remove htmlspecialchars() from fud_user_add() frm_name the database source contains &#337 but any html may insert to forum name.
Removing htmlspecialchars() not problematic because on descr not htmlspecialchars()-ed default. (can brake the page completly also)

What is your opinion htmlspecialchars() on frm_name removable?
Re: International characters in forum name.. [message #26156 is a reply to message #26155] Wed, 06 July 2005 18:55 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
How does fud_user_add() relate to the addition of forums?

Also, how are you creating your forum, via FUDAPI or via the admin control panel?


FUDforum Core Developer
Re: International characters in forum name.. [message #26158 is a reply to message #26156] Wed, 06 July 2005 19:15 Go to previous messageGo to next message
willy is currently offline  willy   Hungary
Messages: 24
Registered: March 2005
Karma: 0
Junior Member
Ilia wrote on Wed, 06 July 2005 20:55

How does fud_user_add() relate to the addition of forums?



Sorry Sad i mistake fud_forum->add() from forum_adm.inc

Quote:


Also, how are you creating your forum, via FUDAPI or via the admin control panel?


Via AdminCP. But i cannot find "make new forum" in FUDAPI.
Re: International characters in forum name.. [message #26161 is a reply to message #26158] Wed, 06 July 2005 20:19 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The reason description allows HTML input is to give the admin freedom to put ANY desired information like banners and so on for the forum.

The name on the otherhand is used in many places aside from the front page, like select boxes and so on, which is why it is filtered through htmlspecialchars().

Is your default theme using iso8859-2, if not that's probably the issue.


FUDforum Core Developer
Re: International characters in forum name.. [message #26163 is a reply to message #26161] Wed, 06 July 2005 20:37 Go to previous messageGo to next message
willy is currently offline  willy   Hungary
Messages: 24
Registered: March 2005
Karma: 0
Junior Member
Oh. default theme.
Yes, but now inserted characters seems to not iso8859-2 (not o" but o~). I completly don't understand this now.
Re: International characters in forum name.. [message #26168 is a reply to message #26163] Wed, 06 July 2005 21:51 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Ok, let me ask you this:

1) When the default theme was using english theme and the name was encoded, how did it present a problem?

2) Did the letters appear incorrectly on the admin control and the forum pages or just on one of them?


FUDforum Core Developer
Re: International characters in forum name.. [message #26179 is a reply to message #26168] Thu, 07 July 2005 17:35 Go to previous message
willy is currently offline  willy   Hungary
Messages: 24
Registered: March 2005
Karma: 0
Junior Member
Ilia wrote on Wed, 06 July 2005 23:51

Ok, let me ask you this:

1) When the default theme was using english theme and the name was encoded, how did it present a problem?


2) Did the letters appear incorrectly on the admin control and the forum pages or just on one of them?



The problem solved. Thanks. Next week i install a test version of fudforum and try out what's happend.
(full details posted)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Newbie questions
Next Topic: Mailing LIst integration
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 04:49:04 GMT 2024

Total time taken to generate the page: 0.02075 seconds