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 20:33
Perff
Administrator

Posts: 1686
Hm? The things I'm fixing to make it work, is to undo what htmlentities does to uni-codes, so that the browser will display them as intended.
I know you should have centralised routines to print text out, but as this site have been developed over 8+ years, this is sadly not the case everywhere.. :)

But perhaps I misunderstood something?
2009-09-22 20:51
Hein

Registered: Apr 2004
Posts: 965
I understand, had the same issues at work with an old engine we used (spaghetti engine). We decided to keep the whole database/engine Latin-1, and allow users to input their weird char-texts in UTF-8, which got inserted into the latin-1 tabels (as double bytes, no html entities). This to prevent digging through many lines of code to add encoding/decoding. When you fetch out the data, it's displayed correctly again.

Now that I think of it, it may be more work to convert the last 128 chars from the latin-1 charset (which are probably used in your database alot) to their UTF-8 representatives. :/

So it worked for us then, but only because there was no latin-1 (last 128-255 chars) data entered yet.
2009-09-23 07:14
booker
Account closed

Registered: Jul 2003
Posts: 334
Quote: Ok.

Now I've fixed some of it..

But unless you guys experiment and mess up CSDb, I'll never find the missing places, so don't be shy. :)


There http://noname.c64.org/csdb/latestforumposts.php Hein's new nick :)
2009-09-23 11:44
booker
Account closed

Registered: Jul 2003
Posts: 334
And if we're about quoting bug.

There's this weir behavior, when you press quote button, it:

a) doesn't let you edit the quoting, so you can't ie. delete text you don't refer to

b) don't display the nick of person quoted.


So there, either one uses BB himself
[quote="person"] blah blah mlah [/quote]
or quoting is sometimes weird :)


2009-09-23 15:59
booker
Account closed

Registered: Jul 2003
Posts: 334
In the oneliner at the frontpage this: ażęółć gives garbage on the second letter from the end.

edit. weird but I tried again and it's fine, except the system entered a space between two last letters.

Other interesting thing is - editing this post gives me back codes instead of Polish letters in the edit box.
2009-09-23 18:10
Perff
Administrator

Posts: 1686
About the oneliners, it's because there is put in spaces when a string is too long without spaces, to make it break. I should avoid to put spaces in codes - will think about ways to avoid that.

When you submit a post, the special signs are converted to the & # xxx codes, so that is also what you get when editing the post. Not sure if I can get around that? A problem?
Edit: Fixed the problem when editing posts. Was very simple actually. :)
2009-09-23 18:53
doNka
Account closed

Registered: Sep 2009
Posts: 1
Cool :) Thankś

/edit/ yeah it works :)
2009-09-23 22:53
assiduous
Account closed

Registered: Jun 2007
Posts: 343
http://noname.c64.org/csdb/funstuff/stat.php -top 10 voters
http://noname.c64.org/csdb/latestcomments.php
2009-09-24 07:10
Devia

Registered: Oct 2004
Posts: 403
Quote: Because it has been fixed now. Am I right?

Dziękuję Perff!


Well, it was a joke, which would no longer be a joke when it got fixed ;-)

And I totally agree with booker, that using the QUOTE button, you should be able to edit who and what exactly is quoted.. besides, this quote, quotes another quote, but the first quote is then removed, making it pretty hard to follow the discussion.
When using the QUOTE button, I'd expect that the entire post is quoted, including the quotes it contains.


2009-09-24 07:56
Perff
Administrator

Posts: 1686
To change the qoute-thing would require a rather big rewriting of the forum I'm afraid.
But perhaps an alternativ qoute button which uses the BB-code quote instead would be an option? (would take all text from the quoted post, and put the BBcode around it)
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
Poison/Singular Crew
kbs/Pht/Lxt
Krill/Plush
Magic/Nah-Kolor
Alakran_64
S.E.S./Crest
Kronos/Arsenic/FC
Mason/Unicess
Hagar/The Supply Team
Exile/Anubis
Didi/Laxity
pievspie
lA-sTYLe/Quantum
master_hacker
McGurk/Coma
Chico/Civitas
Guests online: 338
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 NTSC-Fixers
1 Pudwerx  (10)
2 Stormbringer  (9.7)
3 Fungus  (9.6)
4 Booze  (9.5)
5 Grim Reaper  (9.3)

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