www.webdeveloper.com
Results 1 to 4 of 4

Thread: arabic character encoding problem

  1. #1
    Join Date
    Feb 2006
    Location
    india
    Posts
    678

    arabic character encoding problem

    Hi,

    While showing a page title in arabic it shows as small square boxes and when i am minimising the browser it shows the correct one.

    The html view source code display the right one....but in the browser it shows as small boxes in firefox.

    my html header code

    HTML Code:
    <HTML>
    <HEAD>
    <TITLE><?php echo  SITENAMETITLE; ?></TITLE>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1256">
    .........................
    ......................
    Please where i am doing wrong.

    Thanks,
    Raj

  2. #2
    Join Date
    Jul 2005
    Location
    USA
    Posts
    909
    How about utf-8? Are you entering content in utf-8? That may be the problem. Invalid byte sequences. Change to utf-8.
    Bitter web veteran

  3. #3
    Join Date
    Feb 2006
    Location
    india
    Posts
    678
    I changed but not working...u know when i am minimising the browser it shows the arabic content in the toolbar but when i am opening it shows small boxes as page title...strange

  4. #4
    Join Date
    Nov 2002
    Location
    XYZZY - UK
    Posts
    1,760
    It depends upon what "HTTP headers" your Server is sending too. Remember the information within the TITLE isn't displayed within the page itself. What is the PHP set to send?

    Furthermore you have to make sure you have the correct fonts and language packs installed. Arabic (ISO 8859-6) is a right to left language and sometimes the fonts aren't always fully/correctly UTF supported, etc.

    http://en.wikipedia.org/wiki/Arabic_Unicode

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles