Problem with cyrillic chars in Rapid PHP

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;
Post Reply
adrian500
Posts: 2
Joined: Fri Sep 04, 2009 11:25 pm

Problem with cyrillic chars in Rapid PHP

Post by adrian500 »

I have PhpBB3 forum with UTF-8 encoding. When I type some cyrillic chars in RapidPHP, then the result is this:

Image

I think that the original html file is with UTF-8 encoding, but the cyrillic chars are save in ANSI. Please, help me.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Problem with cyrillic chars in Rapid PHP

Post by Karlis »

Whan you open an UTF-8 file with Cyyrillic chars in it, do they come up right. If so, probably keyboard input is not set correctly. I did not understand whether you can not see characters already in the file or is it that you can not type in Cyrillic characters.
Karlis Blumentals
Blumentals Software
www.blumentals.net
adrian500
Posts: 2
Joined: Fri Sep 04, 2009 11:25 pm

Re: Problem with cyrillic chars in Rapid PHP

Post by adrian500 »

In the editor I can type and view cyrillic chars correctly. But when I view file in browser, the cyrillic chars is not readable
like the screenshot.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Problem with cyrillic chars in Rapid PHP

Post by Karlis »

Ok, I see. The solution is simple - if your files are saved as UTF-8 (without BOM for PHP files), simply make sure your HTML output contains UTF-8 encoding meta tag:

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
If you use ANSI encoding, you will have to specify different encoding according to your system locale. If you need help, just give us a test URL.
Karlis Blumentals
Blumentals Software
www.blumentals.net
braddmark
Posts: 1
Joined: Sun Sep 13, 2009 9:38 am

Re: Problem with cyrillic chars in Rapid PHP

Post by braddmark »

Yes just simply make sure your HTML output contains UTF-8 encoding meta tag.


_________________
Indianapolis seo
Post Reply