Solved

Problem with the Arabic language

Posted on 2013-06-03
9
319 Views
Last Modified: 2013-06-18
Problem with the Arabic language

http://traviano.com/portal/api/db.php
0
Comment
Question by:mohammedokasha
  • 5
  • 2
9 Comments
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39215753
Here is the rendered HTML from that URL.  Are you sure you want to use charset=windows-1256?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />
<title>Untitled Document</title>
</head>

<body> Name: ¿…¿·¿¿¿´ ¿§¿¨¿„¿¿¿³<br>Name: mojazf<br>Name: airtkkde<br>Name: Triple H<br>Name: tefa10<br>Name: ¿µ¿¨¿± ¿ˆ¿¬¿„¿§¿¯¿‡<br>Name: ¿µ¿¨¿± ¿ˆ¿¬¿„¿§¿¯¿‡<br>Name: N0-CoMmeNT<br>Name: ¿§¿†¿¯¿ˆ¿…¿¿<br>Name: xoxo<br>Name: ¿§¿„¿®¿§¿µ¿©<br>Name: salgado<br>Name: rzok1<br>Name: ¿¿¿´ ¿¿¿§¿´<br>Name: lost<br>Name: aymona<br>Name: ¿§¿„¿¹¿ˆ¿§¿…<br>Name: h.h.h<br>Name: ¿„¿ˆ¿±¿¯ ¿²¿…¿§¿†¿¿<br>Name: jtk-soub@hotmail.com<br>Name: anaoos<br>Name: hum<br>Name: legand0707<br>Name: manfrombahrain<br>Name: hosam9<br>Name: ¿§¿„¿¹¿±¿§¿‚¿¿<br>Name: ¿³¿ˆ¿±¿¿ ¿±¿‡¿¿¿¨<br>Name: ¿§¿„¿¯¿¿¿§¿¹<br>Name: twilight<br>Name: jerusalem<br>Name: moforpro<br>Name: alqattan<br>Name: TNT<br>Name: ¿§¿„¿‚¿±¿¿¿© ¿§¿„¿…¿‡¿¬¿ˆ¿±¿©<br>Name: ¿²¿‡¿±¿© ¿§¿„¿¹¿±¿¨<br>Name: spy net<br>Name: ¿ƒ¿¿¿ƒ¿ˆ¿¿ ¿§¿„¿„¿¿¿„<br>Name: thebest<br>Name: ¿¿¿§¿±¿³ ¿§¿„¿¸¿„¿§¿…<br>Name: ¿§¿„¿¿¿¯¿®¿„ ¿§¿„¿³¿±¿¿¿¹<br>Name: sedrh<br>Name: ¿§¿„¿«¿¹¿„¿¨<br>Name: mdm<br>Name: a7medalaa29<br>Name: elkingesmail<br>Name: ¿§¿„¿…¿‚¿§¿¿¿„ ¿§¿„¿´¿±¿³ 1<br>Name: azoz11<br>Name: ¿…¿‚¿§¿¿¿„ ¿§¿„¿²¿ˆ¿…¿¨¿¿<br>Name: agent<br>Name: ¿§¿„¿³¿±¿§¿§¿‚<br>			
            
</body>
</html>

Open in new window

0
 

Author Comment

by:mohammedokasha
ID: 39215756
¿…¿·¿¿¿´ ¿§¿¨¿„¿¿¿³

must be in arabic language
0
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39215777
That's not what I see when I visit the site.  It's only there after the data is copied and pasted back into Experts-Exchange.  It looks correct to me in Firefox, Chrome and IE browsers.  I think the upside-down question marks are an artifact of a character-set encoding collision.  This article tells more about the issue.
http://www.joelonsoftware.com/articles/Unicode.html
screenshot.png
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:mohammedokasha
ID: 39244501
I've requested that this question be deleted for the following reason:

no answer
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39244498
@mohammedokasha: It appears that you do not "get it" about how Experts-Exchange works.  You did, in fact, get an answer here. The answer is exactly what I wrote.  You had a character-encoding error.  I asked you to check the character set encoding which was originally charset=windows-1256.  Apparently you checked it because it has been changed to charset=utf-8, as you can see from the attached screen shot.

Out of the 17 questions you have posted at EE, you have deleted 9.  Three are open, including this one which has a delete request pending.  You have graded three questions out of the 17, giving two B's and one C.  That kind of behavior is unheard of here at EE, where the default grade is A.  The only A grades anyone has received from an effort to help you came when the moderators forced the acceptance.  

By my objection here, I will ask the moderators to force the acceptance of this answer, too.
http://www.experts-exchange.com/Programming/Languages/SQL_Syntax/Q_28145764.html#a39215777
screenshot.png
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39244502
Mods: I object to deleting this question.  Please see my comments and the screen shot here.
http://www.experts-exchange.com/Programming/Languages/SQL_Syntax/Q_28145764.html#a39244498

Best regards, ~Ray
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39245948
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question