Special Characters - FTP - Not showing up on site correctly

mg3hockey

Newbie
Joined
May 21, 2012
Messages
18
Reaction score
4
Hey guys,

I am starting a site in Turkish and when I put my content in my html files the special characters to not convert.

How would I be able to use content with special characters like Turkish and it appear on the site correctly?

TIA

Michael
 
Great question Mg3hockey,

There are typically more complicated ways to get special characters to show up because many of the characters in their original form have different meanings for browsers. So for example writing the & symbol in html requires that a coder write & to simply display &.

The types of codes you need would depend on which characters you are trying to display.

Not sure if this will help you but here is a pretty extensive list of special characters and their corresponding codes,

http://webdesign.about.com/library/bl_htmlcodes.htm

Hope that helps,

Shawn
 
This has nothing with FTP, right? FTP just transfer files to and from your server, unless you put that special character in file name too and FTP program fails to show it properly.

With that, you need to look into encoding. This is a complex topic, I have to say.
 
This has nothing with FTP, right? FTP just transfer files to and from your server, unless you put that special character in file name too and FTP program fails to show it properly.

With that, you need to look into encoding. This is a complex topic, I have to say.

Partially incorrect. Depending on mode used (SFTP/FTPS/FTPES) some character encodes get dropped entirely or get switched with something else. This can be easily noticed using perl scripts.

As for why you're having problems: Make sure the pages character encoding scheme supports the characters (http://www.w3schools.com/tags/ref_language_codes.asp), the file encoding is using the correct character (in notepad++ it is set in the 'Encoding' dropdown) and also use character encoding where possible.
 
Hi mg3hockey

Just in case that you use Filezilla as a FTP Client - set the Transfer from "Auto" to "binary" in the Menu "Transfer" - if it doesn't solve your problem check your mysql database for its character encoding: most likely its set to utf8_general_ci - set up a new database using utf8_turkish_ci and check if the problem is still present...

Are you using a CMS?

cheers olystyle
 
Ahh thank you all for your help. I got it working by adding this line into my header.

"<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=utf-8">"
 
Back
Top