|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
ftp upload language problem
I've been trying to upload some russian text to a website. When I upload an html file the text displays as question marks. If I upload as a .txt file it displays correctly.
What am doing wrong? |
|
#2
|
||||
|
||||
|
RE: ftp upload language problem
Try google.ca and look for the charset and see if you are using the right one.
Dawn |
|
#3
|
|||
|
|||
|
RE: ftp upload language problem
The problem is that some of the text (on the left) is being created via a cms (called article manager)and the section in the middle has been uploaded directly. The left is showing fine but the central text displays as ?'s.
I'm currently using charset=iso-8859-1 which gives the result below: http://www.uktickets.ru/ I've tried using a russian specific charset and the effect was reversed - the text in the centre displayed ok but the text at the side did not. That's why i was wondering if it had something to do with the uploading. ???????????? |
|
#4
|
||||
|
||||
|
RE: ftp upload language problem
When we're dealing with lots and lots of national characters, the safest charset to go for is Unicode. So save your files as UTF-8 and add a meta tag that tells the browser which charset you're using.
To me this sounds like you have different charsets for different files or something. The site is a lot easier to maintain if you are using only one charset. |
|
#5
|
|||
|
|||
|
RE: ftp upload language problem
Thanks for the reply - when you say 'save your files as UTF-8' what exactly do you mean? Do you mean when I save in my html editor?
Cheers |
|
#6
|
||||
|
||||
|
RE: ftp upload language problem
Yes. The charset the file will be saved in pretty much depends on your text editor and the charset your OS uses. Some editors let you decide which charset to use (at least SciTE does), and others will just save it in the default charset of your OS.
|
|
#7
|
|||
|
|||
|
RE: ftp upload language problem
Thanks for that Tkarkkainen.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > ftp upload language problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|