When replacing in files typ is set to ASCII instead UTF-8
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;
When replacing in files typ is set to ASCII instead UTF-8
All my files are UTF-8 without BOM because I am using texts with German umlauts and I do not want to use entities.
When using "Replace in files" the file type is reset to ASCII. Is that a bug or can it be configured?
I already set the option to set all ASCII files that are opened to UTF-8 without BOM so each time I edit such a file it is saved as UTF-8 automatically, but that does not solve the general problem.
Thanks for any help.
When using "Replace in files" the file type is reset to ASCII. Is that a bug or can it be configured?
I already set the option to set all ASCII files that are opened to UTF-8 without BOM so each time I edit such a file it is saved as UTF-8 automatically, but that does not solve the general problem.
Thanks for any help.
Re: When replacing in files typ is set to ASCII instead UTF-
Is it the newest WeBuilder version?
It might be related to file contents. I just tested it and it didn't seem to change the encoding. Can you please check again and if you get the same results, send me the file, the text that you were replacing and the replacement text (here in forums or via http://www.blumentals.net/support/wizard.php).
It might be related to file contents. I just tested it and it didn't seem to change the encoding. Can you please check again and if you get the same results, send me the file, the text that you were replacing and the replacement text (here in forums or via http://www.blumentals.net/support/wizard.php).
Blumentals Software Programmer
Re: When replacing in files typ is set to ASCII instead UTF-
So you are looking for a metadata with "charset=UTF-8" within those files? Mine do not have a regular html header because that is done with php include 'header.php'.
Re: When replacing in files typ is set to ASCII instead UTF-
Version is 11.2.2.131 (German H&P build)
Re: When replacing in files typ is set to ASCII instead UTF-
It's checking the header and the file contents. I did my tests on a simple text file without any headers. I'm using the same build as you, except the regular (non-German) version, but that should not affect this functionality. If you prefer, I can send you my test file to see if it behaves differently on your PC.
Blumentals Software Programmer
Re: When replacing in files typ is set to ASCII instead UTF-
Strange then. Just sent you one of those files.
Re: When replacing in files typ is set to ASCII instead UTF-
I have set both options (UTF-8 without BOM) but again I got ASCII files after a replacement in all files. Tested it on two machines.
Re: When replacing in files typ is set to ASCII instead UTF-
I managed to reproduce this, you are right, there is a bug and I'm filling in a bug report.
Blumentals Software Programmer
Re: When replacing in files typ is set to ASCII instead UTF-

Hope you have an update soon.