Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 12-11-2007, 01:12 PM charset=windows-1251
Banned

Posts: 2,898
Location: Canada
Trades: 0
I have 2 programs, one PHP mailForm and another CGI guestBook.

Site that I’m building will be used in Russia, so I want to add charset=windows-1251
to scripts somehow and hopefully to have them work.

Any ideas? Please




fastreplies

Last edited by fastreplies; 12-11-2007 at 01:54 PM..
fastreplies is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-11-2007, 04:08 PM Re: charset=windows-1251
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
If I where you, I'd go UTF-8 directly...
It's designed from the ground to be used on case like that.

But apart from that minor sidenote, I think a simple declaration, specifying the charset should be enough to trigger the browser in the right mode.
HTML Code:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 12-11-2007, 04:36 PM Re: charset=windows-1251
Banned

Posts: 2,898
Location: Canada
Trades: 0
I am using
Quote:
<meta http-equiv="content-type" content="text/html; charset=windows-1251">
and it's working fine in body but not in script
take a look



fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Old 12-11-2007, 05:26 PM Re: charset=windows-1251
Novice Talker

Posts: 14
Name: Dmitri
Trades: 0
I have a gold rule, always use utf-8! It saves a lot time and nerves too
Code:
			 				<meta http-equiv="content-type" content="text/html; charset=windows-1251">
This won't work if the program on the server side sends http-header with other encoding. I think you should remake server-side programs.
Dknight is offline
Reply With Quote
View Public Profile
 
Old 12-11-2007, 05:52 PM Re: charset=windows-1251
Banned

Posts: 2,898
Location: Canada
Trades: 0
I tried to use utf-8 and everything I could come up with but I still have
the same problem. As you can see I have no problems with body

Dmitri, if you are using Russian KB, can you leave message in GB?




fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Old 12-11-2007, 08:36 PM Re: charset=windows-1251
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Well, what should I see that is not working with the CGI ??

On second thought, I'm on linux, and it seems to always handle mixed charset a whole lot better than windows....
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 12-11-2007, 08:53 PM Re: charset=windows-1251
Banned

Posts: 2,898
Location: Canada
Trades: 0
If you use East Europian chars in form you'll see them looking like вокал
whereas it shoud look like first name after -

I hope this help



fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Old 12-17-2007, 03:46 AM Re: charset=windows-1251
Banned

Posts: 2,898
Location: Canada
Trades: 0
Ok, I made guestbook speak Russian but I still can't
persuade mailForm start to communicate in Russian language

Is there Russians in the House?


fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to charset=windows-1251
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30994 seconds with 12 queries