Using Rapid PHP 9.5.2.106 on Windows Vista Home Premium (SP1)
When opening a file with 'UTF-8 without BOM' encoding, it will show ANSI encoding if the file does not actually contain any UTF-8 characters. So any subsequent saves will change the encoding to ANSI (unless I manually change the encoding to UTF-8 before I save every time).
If the file contains any characters that use UTF-8 encoding, the file will show as UTF-8 encoded as it should.
examples:
<?php
// copyright may 2009
?>
saved as UTF-8 without BOM. When opened will show ANSI encoding (but UTF-8 when viewing in another code editor).
<?php
// Ā© may 2009
?>
saved as UTF-8 without BOM. When opened will show UTF-8 * encoding.
Rapid PHP UTF-8 reverts to ANSI
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
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;
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Re: Rapid PHP UTF-8 reverts to ANSI
There is no bug. UTF-8 without BOM actually is/becomes ANSI IF there are no unicode characters.
I believe this gives detailed answer:
http://forums.blumentals.net/viewtopic. ... it=unicode
I believe this gives detailed answer:
http://forums.blumentals.net/viewtopic. ... it=unicode