Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Bug Reports > quoting bug
2009-09-22 07:01
chatGPZ

Registered: Dec 2001
Posts: 11523
quoting bug

when i use quotes in a forum message this happens

"this is quoted"
 
... 34 posts hidden. Click here to view all posts....
 
2009-09-22 07:04
chatGPZ

Registered: Dec 2001
Posts: 11523
“Allow outsiders to submit entries for your fantastic celebrations held in different parts of the world!”
2009-09-22 07:05
chatGPZ

Registered: Dec 2001
Posts: 11523
aaaahhha! there. it wasnt regular quotes =)

(pasted from joes post here: http://noname.c64.org/csdb/forums/?roomid=7&topicid=68021#70316 )
2009-09-22 07:29
Devia

Registered: Oct 2004
Posts: 403
so is it ok to hi-jack this thread and post lol cats now?
2009-09-22 07:47
chatGPZ

Registered: Dec 2001
Posts: 11523
only if i get a comic strip from jb !
2009-09-22 10:37
jailbird

Registered: Dec 2001
Posts: 1578
Quote: only if i get a comic strip from jb !


Can't do now. Actually have to work. :(

But ontopic, I'd really really really like to see proper unicode support on a site where 50% of the users have obscure international names.

2009-09-22 11:24
booker
Account closed

Registered: Jul 2003
Posts: 334
This may be related to CSDb not supporting other fonts besides typical alphanumerical, no?

So, for instance, if I PM a mate in Polish, instead of Polish fonts, which I can enter into the message, the recipient gets crap like this: rzeźnia.
2009-09-22 11:37
chatGPZ

Registered: Dec 2001
Posts: 11523
yep, thats exactly it.
2009-09-22 11:38
Devia

Registered: Oct 2004
Posts: 403
looks polish to me
2009-09-22 11:46
jailbird

Registered: Dec 2001
Posts: 1578
HTML ISO-8859-1 Reference

So a html_entity_decode would probably fix this. That's in case the special chars aren't intentionally encoded on the presentation layer in the first place. The text was probably encoded to prevent injections to the data access layer, right?

Perff?
2009-09-22 13:03
Perff
Administrator

Posts: 1686
All text which come from user inputs undergo an html_entities before being displayed again. I guess this is pretty standard?

But this means that '&' is encoded to '&', and therefor stuff like “ isn't displayed af the unicode char but as "“".

If I simply added a html_entity_decode, this would negate the html_entities, and then people can really mess up the site with html-tags etc.

So, what to do?
Previous - 1 | 2 | 3 | 4 | 5 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Claus_2015
lotus_skylight
Fred/Channel 4
Krill/Plush
Sychamis
Aomeba/Artline Desig..
Acidchild/Padua
Guests online: 141
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Acidchild  (9.7)
4 Cash  (9.6)
5 Violator  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.122 sec.