#3467 - Support Unicode BOM markers
| Identifier | #3467 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Support Unicode BOM markers |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | Chris Graham |
| Addon | core |
| Description | Make functions to insert BOM markers into text files, and to strip them and convert to the correct character set.
cms_file_put_contents_safe and cms_file_get_contents_safe should have bitmask options for using this processing. Every fopen call should also be reviewed. And every HTTP call. Search the code for this pattern to make sure the code is converted to use the new functions: chr(hexdec('EF')) . chr(hexdec('BB')) . chr(hexdec('BF')) |
| Steps to reproduce | |
| Additional information | https://en.wikipedia.org/wiki/Byte_order_mark
|
| Related to | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
Also add ones relating to #3032.
EDIT: Partly done in "Code formatting" part of codebook_standards.