Click to See Complete Forum and Search --> : Firefox UTF-8 problem
I'm very sorry to "bump" this old topic (http://www.webdeveloper.com/forum/showthread.php?t=131173)... but I don't know where else to go :(
I'm having a similar throuble with my page 'fealtyguild.com'
I belive the CSS is not reading the UTF-8 code
It works fine with IE7/6 etc... but with firefox some words like "Olá,", "história" and " Fórum" are apearing as "Olá,", "história" and "Fórum"
dunno what else to do :(
I'm brazilian, so forgive my poor english
scragar
08-15-2008, 04:51 AM
Olà
works fine for me...
look up the codes at http://www.ronshardwebapps.com/ascii.asp for the characters that arn't showing.
hi scragar
So, there's no way I can correct it besides changing those characters to ascii codes?
I was thinking in something inside the html or css file, there's nothing there to change?
I've tryed yesterday to edit the html from the host editor... it worked a bit.
I mean, all characters apear "legible" with firefox but some button links stoped working. When clickin on it i was taken to a 'ip_number.dunno.dunno.html#'
And messed with the IE align
I'm sure it's a problem with some file or the host server configuration
just don't know how to proceed
Still need some help
Thanks
drhowarddrfine
08-15-2008, 04:00 PM
I'm sure it's a problem with some file or the host server configuration
just don't know how to proceed
I'm sure it is, too. Firefox has no issues with utf-8. We need your complete markup and, possibly, a link to help.
I'm sorry about the "noob" question but
- What is a markup?
the link is Fealty Guild (http://www.fealtyguild.com)
I guess it is hosted by InterWorx
Thanks
scragar
08-16-2008, 03:11 AM
huh, intresting...
I saved a local copy for a few test edits, opened it up before I edited it and it came out perfect, your problem is that your server is serving the page as ISO-8859-1 not utf-8, so firefox 3 is attempting to use ISO-8859-1 for as many characters as it can, which is why you are getting characters of all different types.
Just thought I'd clarify, the page is likely saved as ISO-8859-1 and since your not telling the server to change it the server is just assuming it's right, either convert the pages to UTF-8(should be an option in most good text editors), or have your server change over right it.
Thank youi so much scragar!
I was pretty sure it was the server.
I've looked up into the server editor and there's no option to convert any codification from the files, and I couldn't find anything there to "force" it to stay utf-8
What do you advice me to do now?
Is your database using a different charset to utf8? If your database uses another charset (such as latin1) characters will change irreversibly.
scragar
08-16-2008, 01:11 PM
apache will let you set it using .htaccess
AddDefaultCharset UTF-8
lighttp will let you set it via the config file, just add:
mimetype.assign = (
".htm" => "text/html; charset=utf-8",
".html" => "text/html; charset=utf-8",
".txt" => "text/plain; charset=utf-8"
)add or remove entries as required.
Is your database using a different charset to utf8? If your database uses another charset (such as latin1) characters will change irreversibly.
I'm not sure about that, as I said
I'm very "noob" with this kind of stuff
I'm just familiarized with blogs and etc lol
@scragar
Thank you so very much again!
Just a last question... where do I add this lines? :o
scragar
08-16-2008, 01:53 PM
what is your server running? You need to find that out(most common 3 are lighttp(edit lighttpd.conf), apache(edit or create .htaccess) and IIS(which I have no idea about))
both apache and lighttp don't care where you put the lines, but I'd put a few blank lines at the bottom as a seperator, then add them at the bottom, that way if you mess up somehow it's easy to undo the changes.
scragar
I know this is probably ask you too much but I have no idea of what you're talking about
If I give you a password to adminCP could you look that for me? :o
add my msn: m[dot]vieira [at] live [dot] c o m (edited) if you can help me
edited by WebJoel: I altered your contact information to obfuscate it from search: you are going to be a target of e-mail harveters/SPAM if you place personal contact information in open-forums, which is against WD rules anyway. You don't want that (the SPAM-mail). You should "ask" this question publically and, if someone agrees to do it for you, remit your informationto them privately, via PM ("Private Messaging") provided. Although, you being a 'new member', "private messaging" might not be activated for you yet. It will, soon. :)
scragar
08-16-2008, 02:05 PM
3 easy ways to find out:
create a directory and throw a file or 2 in it, when you load it in the browser it will either say forbidden(normaly with some server details), or show file listings(and again, server details at the bottom of the page).
ask your host, they should know and be able to help you with this sort of thing(some can be horrible at this sort of support, but 99.9% of the time they can tell you what kind of server it is)
try to load a page that doesn't exist, lots of generic page not found messages will include a server name at the least.
scragar
08-16-2008, 02:09 PM
never mind, found it
http://www.fealtyguild.com/generate_a_404
your running Apache 2.2.8 so make a text file called .htaccess and include the line:AddDefaultCharset UTF-8
save and reload your page to test.
scragar
I LOVE YOU!
You became my Idol!
This txt file I need to add in the same directory as the html right?
Edit: I guess it worked '-'
but just with the index.html
http://fealtyguild.com/index.html
without the '/index.html' the problem remain and the same to the others '/something'
scragar
08-16-2008, 02:17 PM
yes, same directory.
Problem solved thanks to scragar :o