If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
a.guestbook posting error with spec char  XML
Forum Index » Support Forum
Author Message
Anonymous



If post spec char ő or ű it displays ő and ű if I edit it (I just replace this code with őű again ) it is fine?! I need it to be displayed correctly without edit, I don't want to edit all messages everyday
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Give people a list of special chars and what their code is e.g.

a space is  
less than sign < is &lt;
more than sign > is &mt;
copyright sign is &copy;

The code is enclosed between an ampersand (& or &amp; and a semi-colon, ;

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



of course
shouldn't they learn hexa code of all characters?????!!!?!

unfortunatelly hungarian language uses ő & ű as english uses o & u

I need a I think php code which transform it automatically...
I don't understand why works in admin mode??
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

They only need to know the o and the u or you could create a php script that takes all data from the guestbook files that contain the posts and convert them to what they should be. When you say displayed incorrectly, how? And when you say edit, just re-enter the chars exactly as before or add the code for them?

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



so I write ő and ű than It displays "& #337;"
"& #369;" "without space&" of course" then I go to admin page and If I delete the code and replace it with ő and ű it will displays it correctly
Anonymous




firstly I posted a message with only
--------------
ő
ű
ő
ű
--------------
in it
than I go to admin page and write őű under this
you can see the result
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Does it display the code in the admin area or even after they've posted? Does it appear correctly when you view the posts outside the admin area?

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



I posted the first 4 char outside of the admin area
In admin area I see the code
but in the admin area If I write őű I displays correctly
(in the pic you can see I inserted őű after the code)
Anonymous



Now I installed the ultimate advanced guestbook...
so if I post ? or ? I will get "?" instead ? and ?

How should I automatically convert it?
Anonymous



You should enable HTML codes !!!
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum