Greetings again,
I am wondering if there is any way to change the keyboard which PHP uses for a foreign language, such as Arabic? I have changed the default_charset value to iso-8859-6, so I can display Arabic characters, but they are not in the same sequence on the keyboard as Windows.
Thank you.
Sohail.
Arabic website
Moderator: General Moderators
Re: Arabic website
Actually, just figured out that I had to change the page encoding to Arabic(Windows). Any way I can have that set in the PHP script so I won't have to do so in the web browser each time?
Re: Arabic website
You can do that via header() function:
Code: Select all
<?php
header('Content-type: text/html;charset=iso-8859-6'); // put here whatever encoding you need.
// ... the rest of your script here