Hi all,
please help me with this issue. I am using latest textPad version and till now I did not have any problems except some with UTF-8 and my CE encoding but it was fixed.
However, I don't know how should I be saving files so that html pages render my Croatian (East Europeian) encoding. I've tryed saving it for PC as ANSI, Unicode and UTF-8, but when page viewed in IE or Firefox I get always strange results except PC:ANSI which worked fine in IE.
When I reopened page in Dreamweaver, fixed errors and saved it from there - it showed in both browsers correctly with wanted codepage.
While I was using Windows-1250 codepage, these errors didn't occure, but I need to move to new to be standard: ISO-8895-2
Any help with this issue please?
ISO-8859-2 multiple browsers issue
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
What kind of "strange results"?
Do you have something like this in your html:
or
Also, the font that's used by IE and Firefox should contain the glyphs you use; Arial is a safe choice, at least on Windows, use "charmap.exe" to check this.
Do you have something like this in your html:
Code: Select all
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
</head>
Code: Select all
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
yes, I have meta tag with iso-8859-2. I am not sure I can use utf-8 - it didn't produce good results with my codepage (or I don't know how to use it)
strange results is fe. that letter 'č' (c with ˇ) is once replaced with strange characters: ae(æ), AL depending on the way I've saved document
font safe and it is Courier. Because, when same page has been corected and saved from Dreamweaver it shows correctly in both browsers
strange results is fe. that letter 'č' (c with ˇ) is once replaced with strange characters: ae(æ), AL depending on the way I've saved document
font safe and it is Courier. Because, when same page has been corected and saved from Dreamweaver it shows correctly in both browsers
Same here, after some more testing.
What I did was:
Create a new file
Set "Script" to "Central European"
Enter some characters, i.e. ćĆ čČ đĐ Å¡Å Å¾Å½
Save as Ansi, Result: æÆ èÈ ð� šŠžŽ
Apparantly Script is reset to "Western" => set it to "Central European" again and you're fine.
Do the same, but save as UTF, everything seems fine, until you reopen the file: TP gives this warning
Pretty lame, I'd say.
When I view the ansi file in IE/FF, some characters display as either question marks or boxes, my guess is there's a difference between the Central European codepage that Windows uses and the iso standard.
So, if you save as Ansi, use "charset=cp1250" in the meta tag and you're fine. Oh wait, that was exactly your point...
Seems to me you'll have to use UTF after all. Unfortunately TP is not the best utf editor around, to say the least, even Notepad (on XP/2000) does a better job in this respect, but there are others as well. Google is your friend.
HTH
What I did was:
Create a new file
Set "Script" to "Central European"
Enter some characters, i.e. ćĆ čČ đĐ Å¡Å Å¾Å½
Save as Ansi, Result: æÆ èÈ ð� šŠžŽ
Apparantly Script is reset to "Western" => set it to "Central European" again and you're fine.
Do the same, but save as UTF, everything seems fine, until you reopen the file: TP gives this warning
Code: Select all
"Warning: "document" contains characters that do not exist in code page 1250 (ANSI Latin I). They will be converted to the system default character, if you click OK"
When I view the ansi file in IE/FF, some characters display as either question marks or boxes, my guess is there's a difference between the Central European codepage that Windows uses and the iso standard.
So, if you save as Ansi, use "charset=cp1250" in the meta tag and you're fine. Oh wait, that was exactly your point...
Seems to me you'll have to use UTF after all. Unfortunately TP is not the best utf editor around, to say the least, even Notepad (on XP/2000) does a better job in this respect, but there are others as well. Google is your friend.
HTH