Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 10-22-2009, 01:05 AM   #1 (permalink)
v7n Mentor
 
Sketch's Avatar
 
Join Date: 05-06-04
Location: London, UK
Posts: 664
iTrader: 0 / 0%
Latest Blog:
None

Sketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web pro
Arabic Website

Hi guys,

I have a website smsglobal.com which I have just translated into Arabic.

It works fine in IE which is great, but it doesn't work in Firefox.

It comes up with random code, does anyone know what I'm doing wrong.

http://www.smsglobal.com/ar-ae/compa..._directors.php

That's a sample page.

However, http://www.smsglobal.com/ar-ae/ works in both? (Only difference is it's a HTML page, not PHP)
Sketch is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-24-2009, 04:02 AM   #2 (permalink)
Contributing Member
 
Join Date: 11-13-07
Location: London
Posts: 75
iTrader: 0 / 0%
Latest Blog:
None

urstop is liked by many
Did you set the content-language correctly for the PHP page? The PHP page link which you have given no longer works, so I could not take a look at it,
__________________
UK Freelance Web Developer
urstop is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-24-2009, 08:09 PM   #3 (permalink)
Contributing Member
 
Join Date: 10-13-09
Location: Singapore
Posts: 59
iTrader: 0 / 0%
Latest Blog:
None

socks is on the right pathsocks is on the right path
This may or may not work, but replace;
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
with
Code:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
__________________
JaBlog. <3
Almost as awesome as ninjas!
socks is online now  
Add Post to del.icio.us
Reply With Quote
Old 10-25-2009, 09:21 PM   #4 (permalink)
v7n Mentor
 
Sketch's Avatar
 
Join Date: 05-06-04
Location: London, UK
Posts: 664
iTrader: 0 / 0%
Latest Blog:
None

Sketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web pro
Quote:
Originally Posted by urstop
Did you set the content-language correctly for the PHP page? The PHP page link which you have given no longer works, so I could not take a look at it,
I believe so. The site is back up now, not sure why you couldn't access it.

Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="content-language" content="ar">
Quote:
Originally Posted by socks View Post
This may or may not work, but replace;
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
with
Code:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
I tried to add that to this page and it didn't work.
Sketch is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-26-2009, 05:51 PM   #5 (permalink)
v7n Mentor
 
Sketch's Avatar
 
Join Date: 05-06-04
Location: London, UK
Posts: 664
iTrader: 0 / 0%
Latest Blog:
None

Sketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web pro
I did a little bit of testing and noticed that PHP needed the correct headers defined.

Adding this code to the site got it working.

Code:
<?php header('Content-language: ar'); header('Content-Type: text/html; charset=utf-8'); ?>
Sketch is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
arabic general forum PR 1 sonic2003 Want To Exchange Links 0 09-05-2009 10:12 AM
Help with Hebrew & Arabic johnegood Coding Forum 11 08-12-2008 07:31 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 07:51 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.