Arabic text in Rapid PHP 2010

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
almahmeed
Posts: 6
Joined: Wed Sep 30, 2009 9:20 am

Arabic text in Rapid PHP 2010

Post by almahmeed »

Hi,

I am using the application to develop applications in Arabic language, but the arabic text within the HTML codes displays as question marks.

The text is being displayed properly in the browser.

What could be the reason behind that?

Regards,

Aziz
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Arabic text in Rapid PHP 2010

Post by Karlis »

Did the text show allright in version 2008 or you just tried 2010?

I just tried to paste in some arabic texts and they seem to show up in editor just fine.
Karlis Blumentals
Blumentals Software
www.blumentals.net
almahmeed
Posts: 6
Joined: Wed Sep 30, 2009 9:20 am

Re: Arabic text in Rapid PHP 2010

Post by almahmeed »

Karlis wrote:Did the text show allright in version 2008 or you just tried 2010?

I just tried to paste in some arabic texts and they seem to show up in editor just fine.
I have only tried 2010 and have no idea if 2008 will work.

You are right, when I 1st type my text, it is displayed properly and even being saved properly. But when I save the file, close rapid PHP and open the file again, the arabic text is changed to the question marks and if I save the file, the arabic text is changed to question mark.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Arabic text in Rapid PHP 2010

Post by Karlis »

Did you set UTF-8 encoding when saving the file? (default is ANSI, if you haven't changed it in Preferences) It is important to set UTF-8!
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Arabic text in Rapid PHP 2010

Post by Karlis »

There is a bug which we will fix soon.
Karlis Blumentals
Blumentals Software
www.blumentals.net
almahmeed
Posts: 6
Joined: Wed Sep 30, 2009 9:20 am

Re: Arabic text in Rapid PHP 2010

Post by almahmeed »

Karlis wrote:Did you set UTF-8 encoding when saving the file? (default is ANSI, if you haven't changed it in Preferences) It is important to set UTF-8!
Hi,

I have tried using the SIL editor to edit the ANSI setting, but found too many charset to be changed and did not want to miss around.

Can you please advise?

Regards,

Abdulaziz
almahmeed
Posts: 6
Joined: Wed Sep 30, 2009 9:20 am

Re: Arabic text in Rapid PHP 2010

Post by almahmeed »

Karlis wrote:There is a bug which we will fix soon.
What is the bug and what is it expected to be resolved?

Thank you for your help.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Arabic text in Rapid PHP 2010

Post by Karlis »

The bug with UTF-8 has been corrected. You can now paste in arabic text, save and load files, providing you have set UTF-8 encoding.

You do not need SIL editor, it is only needed for localization purposes (translating the software interface).
Karlis Blumentals
Blumentals Software
www.blumentals.net
almahmeed
Posts: 6
Joined: Wed Sep 30, 2009 9:20 am

Re: Arabic text in Rapid PHP 2010

Post by almahmeed »

Karlis wrote:The bug with UTF-8 has been corrected. You can now paste in arabic text, save and load files, providing you have set UTF-8 encoding.

You do not need SIL editor, it is only needed for localization purposes (translating the software interface).
Hi,

So, do I need to download the new version? or, is there an automatic update/download?

Regards,

Aziz
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Arabic text in Rapid PHP 2010

Post by Karlis »

Make sure your version is 10.0.0.117; you must re-download and re-install.
Karlis Blumentals
Blumentals Software
www.blumentals.net
kote
Posts: 2
Joined: Sun Oct 11, 2009 2:53 am

Re: Arabic text in Rapid PHP 2010

Post by kote »

I'm using the trial version of Webuilder 2010 and like it very much. But I have the same problem, only concerning Georgian language. When I type Georgian text i get question marks on the screen. But if I open the file which was edited previously in any other editor the Georgian letters do appear.
When pasting Georgian text everything is OK.
So the problem is only when typing.

I save the files in utf-8 without BOM encoding. I'm using windows 7 and the Georgian keyboard layout was already installed in windows.
I've tried Webuilder 2008 as well - the same problem. I've tried also on different computers with XP and Vista and the problem remained.

I'm usin the following html with charset meta tag:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="style.css" rel="stylesheet" type="text/css" /> ...
almahmeed
Posts: 6
Joined: Wed Sep 30, 2009 9:20 am

Re: Arabic text in Rapid PHP 2010

Post by almahmeed »

Karlis wrote:Make sure your version is 10.0.0.117; you must re-download and re-install.
Hi,

I have downloaded the latest version 10.0.0.117 and everything is working just fine now.

Thank you very much for your help.

Regards,

Aziz
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Arabic text in Rapid PHP 2010

Post by Karlis »

kote wrote:I'm using the trial version of Webuilder 2010 and like it very much. But I have the same problem, only concerning Georgian language. When I type Georgian text i get question marks on the screen.
This is a different problem and we have not yet figured out why with all other languages all is fine but with Georgian there have been problems. So far without any luck.
Karlis Blumentals
Blumentals Software
www.blumentals.net
kote
Posts: 2
Joined: Sun Oct 11, 2009 2:53 am

Re: Arabic text in Rapid PHP 2010

Post by kote »

Thank you for a reply. I suppose there is a problem with a font. I had the same problem with NetBeans (i used consolas font), when I switched to sylfaen (which supports georgian language) everything showed properly. But sylfaen is not a monospaced font. I searched for monospaced unicode font which supports georgian and have found one called "Everson Mono". However I can't add new fonts in Webuilder. So, if you can tell me the way to add my new installed Everson Mono font I'll try to type something and will notify you about the results.

P.S. Everson Mono worked fine with NetBeans, so may be here is the same problem
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Arabic text in Rapid PHP 2010

Post by Karlis »

I do not thing that it is a font problem, because as you said, when you open already saved file, all is ok, right? The problem is in keyboard input (keyboard layout). It is very strange.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply