Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
php encode iso vs. utf8
Old 12-05-2005, 12:25 PM php encode iso vs. utf8
purk's Avatar
Extreme Talker

Posts: 164
Name: James
Location: marbella & surrey
Trades: 0
i'm encoding a result from my db using the utf8_encode() function but i need the unicode equiv' as the output is fputs'd and can contain special chars like € and foreign chars.

i need this as feedvalidator.org keeps telling me there's chars it doesn't like.

my output is xml and has "ISO-8859-2" encoding but the validator suggests using windows-1252.

all this is a bit beyond me to be honest, anyone able to clarify for me??

thanks

;p
purk is offline
Reply With Quote
View Public Profile Visit purk's homepage!
 
 
Register now for full access!
Old 12-07-2005, 08:36 AM
purk's Avatar
Extreme Talker

Posts: 164
Name: James
Location: marbella & surrey
Trades: 0
nobody?

purk is offline
Reply With Quote
View Public Profile Visit purk's homepage!
 
Old 12-09-2005, 01:32 AM
Skilled Talker

Posts: 62
Trades: 0
I'd recommend you take a look at the good ol' htmlspecialchars() function in PHP...

http://us3.php.net/htmlspecialchars
__________________

Please login or register to view this content. Registration is FREE
danlefree is offline
Reply With Quote
View Public Profile Visit danlefree's homepage!
 
Reply     « Reply to php encode iso vs. utf8
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11531 seconds with 12 queries