Print Page | Close Window

Changing the charset

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=752
Printed Date: 03-December-2024 at 2:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Changing the charset
Posted By: egemen
Subject: Changing the charset
Date 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



Replies:
Posted By: netprofits
Date Posted: 25-April-2007 at 7:39am

Just add your extra meta tag(s) directly to the header.asp file.



-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: egemen
Date Posted: 25-April-2007 at 9:26am
Originally posted by netprofits netprofits wrote:

Just add your extra meta tag(s) directly to the header.asp file.


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.)


Posted By: netprofits
Date Posted: 25-April-2007 at 9:38am

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-encoding - http://www.sitepoint.com/article/guide-web-character-encodin g



-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: egemen
Date Posted: 26-April-2007 at 5:25am
Originally posted by netprofits netprofits wrote:

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-encoding - http://www.sitepoint.com/article/guide-web-character-encodin g



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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net