ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Changing the charset
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Changing the charset

 Post Reply Post Reply
Author
Message
egemen View Drop Down
Newbie
Newbie
Avatar

Joined: 20-April-2007
Location: Turkey
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote egemen Quote  Post ReplyReply Direct Link To This Post Topic: Changing the charset
    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
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post 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

Our Site
Back to Top
egemen View Drop Down
Newbie
Newbie
Avatar

Joined: 20-April-2007
Location: Turkey
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote egemen Quote  Post ReplyReply Direct Link To This Post 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.)
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post 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-encodin g

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
egemen View Drop Down
Newbie
Newbie
Avatar

Joined: 20-April-2007
Location: Turkey
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote egemen Quote  Post ReplyReply Direct Link To This Post 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-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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.