Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Dansk Dansk

Home: Slashdemocracy: WS4LSQL:
Character encoding

 

 


gotze
Site administrator / Moderator

May 22, 2004, 7:28 AM

Post #1 of 2 (2910 views)
Shortcut
Character encoding Can't Post

I think UTF-8 is the preferred character encoding for web services.

LSQL works with anything, I guess, but since content is mostly created via form inputs via Windows machines, I don't think we have UTF-8 in the database, and should perhaps make a "purification filter" of kinds?

Alex, Dat, any thoughts?


gotze
Site administrator / Moderator

May 22, 2004, 8:44 AM

Post #2 of 2 (2907 views)
Shortcut
Re: [gotze] Character encoding [In reply to] Can't Post

Speaking of which ...
http://www.cadenhead.org/...sql-data-in-rss.html

In PHP, it's just a matter of :

function cleanText($intext) {
return utf8_encode(
htmlspecialchars(
stripslashes($intext)));
}

What do you do in Perl?

 
 
 


Search for (options) Powered by Gossamer Forum v.1.2.4