Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-06-15, 23:10:24

Author Topic: PHP not using UTF-8  (Read 3052 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
PHP not using UTF-8
« on: 2015-06-01, 13:36:16 »
Mustafa, why isn't PHP using UTF-8? How can we set it in Kloxo for all customers?

Currently, the default charset is not set. This is important.
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP not using UTF-8
« Reply #1 on: 2015-06-01, 13:54:45 »
Only Php 5.6.0+ set default_charset to utf-8.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: PHP not using UTF-8
« Reply #2 on: 2015-06-01, 14:13:19 »
Ok, but how do i tell Apache/Hiawatha and PHP to use UTF-8 as default, without loosing it on next Kloxo update?

I know where to change it for every servers, but it needs to survive Kloxo updates :)
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP not using UTF-8
« Reply #3 on: 2015-06-01, 14:33:58 »
As I know, hiawatha didn't have similar parameter like default_charset in php.

At this situation, better declare in php code for this purpose.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.03 seconds with 22 queries.

web stats analysis