Displaying special characters?
I have the following in a file:
Příšerně žluťoučký kůň úpěl ďábelské ódy
When I print it out using (PHP) htmlspecialchars(utf8_decode($line), ENT_QUOTES) I get:
P?�?ern? ?lu?ou?k� k?? �p?l ?�belsk� �dy
Can anyone help me so that it will display correctly?
SonicMailer Pro - Professional mailing list manager & award-winning email marketing software
Download a FREE 30-day trial today!
Use coupon savemoreon4 and save 10%!
Busy posted this at 09:54 — 11th January 2007.
He has: 6,151 posts
Joined: May 2001
ř = ř
& #159; = Ÿ (no spaces)
going by the first word, which I take is patterns none of it makes sense.
Do you know what character set was used and what the sentence should be?
you can use the character map (under system tools on start) to try narrow them down
Renegade posted this at 19:27 — 11th January 2007.
He has: 3,022 posts
Joined: Oct 2002
Is it a long string of characters you need to display? I made a page a while ago (no longer exists, except on wayback machine) which you could refer to:
http://web.archive.org/web/20050220013434/chengeu.sitebug.com/index.php?page=ascii
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.