problem with arabic in utf8

Help
nick
2011-05-16
2013-05-28
  • nick

    nick - 2011-05-16

    Hi ,

    I have a problem in ofc with the font ; it displays "□□□□□□" when i 'm trying to use
    arabic text , ranged between ' arabic presentation forms-B ' utf8 character codes .
    (http://www.unicode.org/charts/PDF/UFE70.pdf).

    Since it's utf8 , it should be working …

    This arabic text has been successfully rendered in browser , printed and accessed through text editor.
    I 've also made a sample swf with this text using a font of mine named ' almohanad.ttf ' and it's working.

    Thus , i believe the font may be the reason…

    Is it possible to send you the font i've , so that you add it to the swf ?

    Thanks in advance ,
    Nick

     
  • New Nebo

    New Nebo - 2012-10-08

    i think it is a long time to get a reply to your question but to arrive late better than never,
    and believe it i register to the website just to answer your question so it may helps you and others.

    to get arabic text in the OFC you need to use in PHP the function iconv check the link: http://www.php.net/manual/en/function.iconv.php
    like:

    iconv('windows-1256', 'UTF-8', "محمد");
    

    and so you will get the arabic text in the ofc.

    i hope this helps you and others.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks