jkkenzie Posted January 28, 2010 Share Posted January 28, 2010 when i run my pages http://hatua.softlinkoptions.com/pages/Formularz_Rezerwacji.vrt some characters dont show. I have tried <p lang="pl"> and <meta http-equiv="content-language" content="en, pl, it"> and <html xmlns="http://www.w3.org/1999/xhtml" lang="pl"> but no results. Quote Link to comment Share on other sites More sharing options...
Mchl Posted January 28, 2010 Share Posted January 28, 2010 These characters are not encoded in UTF8. Check your encoding. Quote Link to comment Share on other sites More sharing options...
GrooN Posted January 28, 2010 Share Posted January 28, 2010 Hmm... I think you'll need to use the "iso-8859-2" charset Quote Link to comment Share on other sites More sharing options...
Mchl Posted January 28, 2010 Share Posted January 28, 2010 Hmm... I think you'll need to use the "iso-8859-2" charset Nope. No need to stick with archaic non-standards. UTF8 works fine for Polish as long as you make sure everything from database to final output uses it. Quote Link to comment Share on other sites More sharing options...
GrooN Posted January 28, 2010 Share Posted January 28, 2010 Nope. No need to stick with archaic non-standards. UTF8 works fine for Polish as long as you make sure everything from database to final output uses it. oh, okay. So this dude has to write all the special characters in html code? :-\ (http://webdesign.about.com/library/bl_htmlcodes.htm) Quote Link to comment Share on other sites More sharing options...
Mchl Posted January 28, 2010 Share Posted January 28, 2010 No. He just needs to take care he uses proper encoding everywhere (and also proper tools that recognize this encoding). HTML codes != UTF8. Quote Link to comment Share on other sites More sharing options...
GrooN Posted January 28, 2010 Share Posted January 28, 2010 hehe, okay. Didn't know that Anyway thanks for updating me ^^ Quote Link to comment Share on other sites More sharing options...
jkkenzie Posted January 29, 2010 Author Share Posted January 29, 2010 :'( I used UTF 8 and the Charset ISO but work only my local computer. I had to go online and get the encoding for characters like ż and the like. But not many characters though Quote Link to comment Share on other sites More sharing options...
oni-kun Posted January 29, 2010 Share Posted January 29, 2010 :'( I used UTF 8 and the Charset ISO but work only my local computer. I had to go online and get the encoding for characters like ż and the like. But not many characters though If you get the replacement character (IE � ) then try running utf8_encode along with the UTF8 encoding headers. $message = 'ąĄćĆęĘŃńŁłóÓŚśŹźż'; echo utf8_encode($message); And it will work (theorietically) no matter what, as long as you define UTF-8 in the meta tags. Quote Link to comment Share on other sites More sharing options...
haku Posted January 29, 2010 Share Posted January 29, 2010 Make sure the document is saved in UTF-8 encoding. If you are using Dreamweaver, it will tell you the current encoding of the document on the bottom right of the code pane. I can't speak for other editors. But the document itself has to be UTF-8 for non-English characters to display properly. Quote Link to comment Share on other sites More sharing options...
oni-kun Posted January 29, 2010 Share Posted January 29, 2010 Make sure the document is saved in UTF-8 encoding. If you are using Dreamweaver, it will tell you the current encoding of the document on the bottom right of the code pane. I can't speak for other editors. But the document itself has to be UTF-8 for non-English characters to display properly. Also note to not include the BOM (byte order mark) if the option is there, as it could cause incompatabilities with the script. (IE count as whitespace before <?php for headers) Quote Link to comment Share on other sites More sharing options...
jkkenzie Posted February 1, 2010 Author Share Posted February 1, 2010 Thanks guys, helpful! far much too kind, thank you! thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.