Changing the charset |
Post Reply |
Author | |
egemen
Newbie Joined: 20-April-2007 Location: Turkey Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 24-April-2007 at 12:27pm |
Hey everyone,
I was wondering if anyone had an idea where I could change the charset for ProductCart. My store will operate in Turkish so I have to translate the dictionary file and if I don't change the charset to windows-1254 or iso-8859-9, I won't be able to use the extra characters in this alphabet. I added it in the include-metatags.asp as: Response.Write "<TITLE>" & Title & "</TITLE>" & vbcrlf & _ "<META NAME=""Description"" CONTENT=""" & mtDescription & """>" & vbcrlf & _ "<META NAME=""Keywords"" CONTENT=""" & Keywords & """>" & vbcrlf & _ "<META NAME=""Robots"" CONTENT=""index,follow"">" & vbcrlf & _ "<meta http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-9"">" & vbcrlf & _ "<META NAME=""Revisit-after"" CONTENT=""30"">" & vbcrlf but that didn't really seem to do anything. Thanks in advance, Egemen |
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
Just add your extra meta tag(s) directly to the header.asp file. |
|
egemen
Newbie Joined: 20-April-2007 Location: Turkey Status: Offline Points: 0 |
Post Options
Thanks(0)
|
hi,I thought it might work and gave it a shot yesterday, but no dice When I open the languages.asp in dreamweaver, I can see the characters just fine, but when I open say the login page on my browser, the text fed from the dictionary shows up with letters from the english alphabet. ( 'i' without the dot on top becomes 'i' etc.) |
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
Sorry, I thought the problem was getting the meta tag to show in the HTML properly. I didn't realize the problem was with you encoding. Character encoding is a really tricky subject. You may want to review some articles on the web about it. Here is one we found really helpful: http://www.sitepoint.com/article/guide-web-character-encodin g |
|
egemen
Newbie Joined: 20-April-2007 Location: Turkey Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Thanks for the link. I think I figured it out. Took me over a day and a half, but finally I managed to get the characters to show up correctly. All I had to do in the end was add " Session.CodePage = 1254 " in the beginning of pcStartSession.asp d'oh! Peace, Egemen |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |