1
Yasen
Cant set site title with cp1251
  • 2005/8/1 14:41

  • Yasen

  • Just popping in

  • Posts: 14

  • Since: 2005/6/7 1


What could be the reson for displaying it with &#...&#...&#...? Where dots are numbers. Iheve chaneged $xoops_charset to windols-1251 (add $xoops_charset=windows-1251' in mainfile.php) and add proper colection for DB an field type for it in config table.

2
stefan88
Re: Cant set site title with cp1251
  • 2005/8/1 14:55

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

if you are using apache, you may need to add in httpd.conf "AddLanguage" and "LanguagePriority" ...

Stefan
..

3
babay
Re: Cant set site title with cp1251
  • 2006/4/30 14:19

  • babay

  • Just popping in

  • Posts: 6

  • Since: 2003/12/28


At me a problem with display of the text in coding CP1251.
I use XOOPS 2.0.13. PHP5, MySQL 4.18. I not have Access to Apache.
I in a file /class/database/mysqldatabase.php have registered at the end of function connect the next line mysql_query (" set names 'cp1251' "). After that the most part of the text is displayed correctly.
However the text from a configuration (the name of a site, slogan, title) is not displayed correctly. The text in some modules too is displayed incorrectly. Where still it is necessary to correct a code for correct display of full text to a site?

Login

Who's Online

328 user(s) are online (264 user(s) are browsing Support Forums)


Members: 0


Guests: 328


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits