Jump to content

polish characters


jkkenzie

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

:'( 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 &#380 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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.