Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

UTF-8 and BOM: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
Línia 12: Línia 12:


== What does BOM mean? ==
== What does BOM mean? ==
BOM stands for [http://en.wikipedia.org/wiki/Byte-order_mark "Byte Order Mark"].
 
* BOM stands for [http://en.wikipedia.org/wiki/Byte-order_mark "Byte Order Mark"].
* [http://www.unicode.org/unicode/faq/utf_bom.html#BOM Byte Order Mark (BOM) FAQ] by the Unicode Consortium.
* [http://www.joelonsoftware.com/articles/Unicode.html "The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)"] from Joel on Software


== What is it good for? ==
== What is it good for? ==

Revisió del 07:15, 14 jul 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?

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?

You will need a text editor which is capable of showing special Unicode characters.

How can I get rid of the BOM?