Note: You are currently viewing documentation for Moodle 3.8. Up-to-date documentation for the latest stable version of Moodle may be available here: UTF-8 and BOM.

UTF-8 and BOM: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 12: Line 12:


== What does BOM mean? ==
== What does BOM mean? ==
BOM stands for [(http://en.wikipedia.org/wiki/Byte-order_mark "Byte Order Mark"].


== What is it good for? ==
== What is it good for? ==
It is used for multibyte characters to mark the order in which the bytes appear.


== What's the problem with the BOM? ==
== What's the problem with the BOM? ==
* see [http://www.w3.org/International/questions/qa-utf8-bom.en.php Display problems caused by the UTF-8 BOM]


== How can I detect a BOM? ==
== How can I detect a BOM? ==


== How can I get rid of the BOM? ==
== How can I get rid of the BOM? ==
* see [http://www.w3.org/International/questions/qa-utf8-bom.en.php Display problems caused by the UTF-8 BOM]

Revision as of 07:02, 14 July 2009


With the Database Activity there still seems to be a problem importing UTF-8 files with BOM (http://en.wikipedia.org/wiki/Byte-order_mark).

See this forum discussion for an example in Hebrew http://moodle.org/mod/forum/discuss.php?d=62251#p559428

See also this tracker issues: http://tracker.moodle.org/secure/IssueNavigator.jspa?reset=true&&query=bom&summary=true&description=true&body=true&sorter/field=updated&sorter/order=DESC

--Frank Ralf 10:36, 13 July 2009 (UTC)

What does BOM mean?

BOM stands for [(http://en.wikipedia.org/wiki/Byte-order_mark "Byte Order Mark"].

What is it good for?

It is used for multibyte characters to mark the order in which the bytes appear.

What's the problem with the BOM?

How can I detect a BOM?

How can I get rid of the BOM?