Bitpalace Business Booster:
Fast Web Server with PHP/MySQL.

How can I change the PHP default character set without editing php.ini?

Question: 

Searching …

 

Unfortunately nothing found on "".

Premium support for Bitpalace web hosting customers only!

 from New Zealand: +49 30 32 70 18 92, Fax (in Germany) +49 30 32 70 18 91

service@bitpalast.net 

Skype: bitpalast

One moment please … your browser is loading the page.

 

 

Symptom

Your PHP pages display mutated vowels and special characters wrong.

 

Cause

Your PHP scripts are missing explicit commands that define the character set used for script outputs. Therefore the default setting is used (normally UTF-8). Your output however needs a different setting, e.g. ISO-8859-1.

 

Solution

The default character set can be defined in the php.ini file. In shared hosting web space accounts you cannot access php.ini. As an alternative you can configure your .htaccess file. You can either use the one that is already present in your web space's root directory or you can simply create a new one.

Add these two lines to your .htaccess file:

AddDefaultCharset [name of character set]
php_value default_charset [name of character set]

Instead of "[name of character set]" enter the desired character set that shall be used for PHP output by default, e.g. ISO-8859-1:

AddDefaultCharset ISO-8859-1
php_value default_charset ISO-8859-1

 

Overview of frequently asked questions 

 

 

 


 

Additional Services

Cheap web space for less than 1 NZ$/month 

Online Reservation System: Occupancy & vacancy schedule for any ressources (vehicles, sports facilities …) & guest houses, holiday apartments …  14.95 NZ$ () /month 

Software development: Development of database applications, programming and revision of computer programs & scripts  73.99 NZ$ () /hour 

 

FAQ – frequently asked questions 

 

Affordable, fast web server (cheap web space) for selected different countries

Kiribati

Austria

Canada

Guinea

Palau

Colombia

Cuba

Antigua and Barbuda

Papua New Guinea

Paraguay

Jordan

Argentina

Costa Rica

Australia

Germany

Bahamas

Lesotho

Barbados

Belize

Peru

Uganda

Honduras

Philippines

Madagascar

Bolivia

Botswana

Malawi

Chile

Puerto Rico

India

Malta

Rwanda

Saint Kitts and Nevis

Saint Vincent and the Grenadines

Saint Lucia

Marshall Islands

Zambia

Samoa

Jamaica

Mauritius

Switzerland

Dominican Republic

Liberia

Seychelles

Mexico

Dominican Republic

Micronesia, Federated States of

Sierra Leone

Namibia

Ecuador

Singapore

El Salvador

Fiji

Solomon Islands

Gambia

Spain

Nauru

Sudan

Nicaragua

Swaziland

South Africa

Nigeria

Pakistan

Tanzania, United Republic of

Kenya

Ghana

Tonga

Trinidad and Tobago

Guyana

Tuvalu

Uruguay

Panama

Venezuela

United States

Ireland

Cameroon

Grenada

Guatemala

United Kingdom

Zimbabwe

 

"Fast Web Space": fast web space, powerful web server, super fast webserver, optimized web servers: fast hosting / strong web server (fast web space). Web server for search engine optimized (SEO) websites and business websites (powerful company website server) / webspace for shops.

  from New Zealand: +49 30 32 70 18 92 •  GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
Your purchase is tax-free, because you order from a non-EU country. © 2024  GmbH. All rights reserved. and the logo are registered trademarks of GmbH. For photo credits see imprint.

Imprint Privacy policy Sitemap