Author Topic: Problem with encoding  (Read 728 times)

0 Members and 1 Guest are viewing this topic.

Offline svarog

  • phpd Basic Member
  • **
  • Posts: 30
  • Karma: 0
    • View Profile
Problem with encoding
« on: February 28, 2010, 01:54:34 AM »
Hi,

I want to use bulgarian on my site, but there is a problem with the charset.ISO 8859-2 does not support Cyrillic. >:(
And when i change to windows-1251 the other language are changed and become not readable. :-\

I search the net for some script that can change the charset when user click on bulgarian but i didn't find anything. :o

So HELP PLEAS.
« Last Edit: March 02, 2010, 01:51:18 PM by svarog »

Offline svarog

  • phpd Basic Member
  • **
  • Posts: 30
  • Karma: 0
    • View Profile
Re: Problem with encoding
« Reply #1 on: March 02, 2010, 01:55:12 PM »
I haven't slept for too long :( and that make me stupid. :-[

Fixed! :) Just need to make translation in UTF-8. 

Offline svarog

  • phpd Basic Member
  • **
  • Posts: 30
  • Karma: 0
    • View Profile
Re: Problem with encoding
« Reply #2 on: May 16, 2010, 07:59:15 AM »
A little idea about this.

In every lang -> *.inc.php  make new LAN_*** equal to the encoding code you like to use for that language. And the <meta >

Code: [Select]
<meta http-equiv="content-type" content="text/html;charset= {$LAN_*** } " /> 

Offline ultrafoxus

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
    • sbobet
Re: Problem with encoding
« Reply #3 on: June 01, 2010, 03:07:48 PM »
thank you for all information this is very helpful  8) 8)