Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Setting a Windows-1251 codepage
#1
Hi guys! I never used Getsimple until today and I have a question. I making a website for old devices like Palm, which does nothing know about UTF 8.
I would like to set in the website windows-1251 codepage instead of UTF-8.
How can I do this?
I'll appreciate your answers! Thanks.
Reply
#2
Set your http-equiv content-type to WINDOWS-1251:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=WINDOWS-1251">

If it doesn't help, you can try commenting out the line "AddDefaultCharset utf-8" in the httpd.conf.
Reply
#3
(2020-09-09, 04:32:01)Bigin Wrote: Set your http-equiv content-type to WINDOWS-1251:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=WINDOWS-1251">

If it doesn't help, you can try commenting out the line "AddDefaultCharset utf-8" in the httpd.conf.

I did it before writing here of cause. It doesn't work unfortunately.
   
Reply
#4
Are all characters that are displayed like this or does it only affect the content that comes from XML? What happens if you write a string directly in your template (hard-coded)?
Reply
#5
(2020-09-09, 16:40:27)Bigin Wrote: Are all characters that are displayed like this or does it only affect the content that comes from XML? What happens if you write a string directly in your template (hard-coded)?

All characters that are displayed like this, yeah. The same thing if I wright russian text in the template.
Reply
#6
Probably has nothing to do with GS, your server/php returns data in the wrong format.
Reply




Users browsing this thread: 1 Guest(s)