When including files from external sources, it is sometimes desirable to look at the content (at least the beginning of the file) in binary form.
If no hex editor is installed locally, the use of the fast "hexed.it" can help to evaluate the contents of a file: https://hexed.it/
Info:
Erel provides a function for handling BOM here: https://www.b4x.com/android/forum/t...utf-8-file-that-might-have-bom.90943/#content
For example, transmitted CSV files occasionally cause surprising crashes because the header line does not seem to be evaluated as expected. This is because the file was saved as "UTM8 with BOM character" by the sender.
A quick look with Notepad++ does not always help, because the visible result depends on the current "Encoding" setting.
A quick look with Notepad++ does not always help, because the visible result depends on the current "Encoding" setting.
If no hex editor is installed locally, the use of the fast "hexed.it" can help to evaluate the contents of a file: https://hexed.it/
Info:
Analyse and edit binary files wherever you want, on any operating system and without installing any software.
All you need is a modern web browser (Mozilla Firefox 16+, Google Chrome 20+, Opera 12.10+, Apple Safari 6+, Microsoft Internet Explorer 10+/Edge 20+).
The complete file processing is done by your browser and HTML5 functionality. HexEd.it does not send any data to the Webserver.
HexEd.it has a small memory footprint - it does not keep your files in memory.
This makes it possible to handle very large files even on low-RAM machines. HexEd.it has been tested on files as large as 150 GiB.
Erel provides a function for handling BOM here: https://www.b4x.com/android/forum/t...utf-8-file-that-might-have-bom.90943/#content