The byte order mark (BOM) is a particular usage of the special Unicode character, U+FEFF BYTE ORDER MARK, whose appearance as a magic number at the start of a text stream can signal several things to a program reading the text:
The byte order, or endianness, of the text stream in the cases of 16-bit and 32-bit encodings;
The fact that the text stream's encoding is Unicode, to a high level of confidence;
Which Unicode character encoding is used.BOM use is optional. Its presence interferes with the use of UTF-8 by software that does not expect non-ASCII bytes at the start of a file but that could otherwise handle the text stream.
Unicode can be encoded in units of 8-bit, 16-bit, or 32-bit integers. For the 16- and 32-bit representations, a computer receiving text from arbitrary sources needs to know which byte order the integers are encoded in. The BOM is encoded in the same scheme as the rest of the document and becomes a noncharacter Unicode code point if its bytes are swapped. Hence, the process accessing the text can examine these first few bytes to determine the endianness, without requiring some contract or metadata outside of the text stream itself. Generally the receiving computer will swap the bytes to its own endianness, if necessary, and would no longer need the BOM for processing.
The byte sequence of the BOM differs per Unicode encoding (including ones outside the Unicode standard such as UTF-7, see table below), and none of the sequences is likely to appear at the start of text streams stored in other encodings. Therefore, placing an encoded BOM at the start of a text stream can indicate that the text is Unicode and identify the encoding scheme used. This use of the BOM character is called a "Unicode signature".

You do not have permission to view the full content of this post. Log in or register now.
  1. A


    Naniniwala kaba na si Jesus lang daan papunta sa kaharian ng Diyos? Oo o Hindi m
  2. C

    Closed P2 UNLI NET

    Please lang po , Huwag nang ikalat :D(y) ENJOY PHC ! :abigsmile: ** Sa mga nag THANK YOU , WELCOME PO :);) aha . Gumagana `to kahit walang VPN. Nakakapag BROWSE ka ALLSITE except sa YøùTùbé :cool: Gumamit ako ng VPN tulad ng UNCLOGGER , PSIPHON , BETTERNET at iba pa :p para ma BYPASS...
  3. C

    Closed Religion and Spiritual Beliefs in the Philippines

    Most Americans are aware that the Philippines is comprised of Catholics, but Catholicism and spirituality in the Philippines extends beyond just being Catholic. In fact the way religion is practiced in the Philippines is very unique in comparison to the form Christianity takes in the west or...
  4. C


    root word: tanggal meaning "to remove" manananggal "remover" monster that sucks the viscera out of your body The manananggal of the Philippines is known for having large wings and for being able to detach ("remove") the upper half of its body, from the waist up. Leaving the lower half of...
  5. C

    Closed Native Filipino Beliefs

    Native Filipino Beliefs The Philippines is a predominantly Christian nation on account of 300 years of Spanish rule. It is estimated that 81% of the population is Roman Catholic. In the south on the large island of Mindanao, many are adherents of Islam. Filipino Muslims make up about five...
  6. C

    Philippine Beliefs and Superstitions

    *******cy All windows and doors should be wide close for the laboring mother’s easy delivery. Krista Marie Gutierrez *******t women should avoid witnessing her husband, so that when born their babies would not have the habit of winking the eyes abnormally. An expectant mother should not act as...
  7. C

    Closed X.P Psiphon Lite ( FREE NET )

    Download Link : Download X.P LITE.apk - Register any CALL or TEXT ni TM/GLOBE . Yung may mga free viber , wattpad or fb :) . Then enter this Settings : Default APN ;) Enjoy your Free Net! :D
  8. C

    Closed Globe starts elevating state of internet in PH

    Delivers high speed connectivity for APEC 2015 meetings In line with its commitment to provide ICT support for nation building, leading telecommunications provider Globe Telecom took on the critical task of delivering high speed broadband connectivity for the recently concluded APEC 2015...
  9. C

    Closed Globe pushes for responsible use of mobile devices to drive ICT-based education

    Globe Telecom is advocating responsible use of mobile devices in school campuses for the country's learning institutions to effectively leverage advancement in information and communications technology. "Internet is a valuable source of information and an important additional teaching tool. As...
  10. C

    Closed Globe keeps lead in mobile data biz with revenues hitting P15-B mark

    Mobile data users grow by 126%, data traffic by 89% Globe President and CEO Ernest Cu (rightmost) joins Cherry Mobile CEO Maynard Ngu (leftmost) and brand ambassador Michael V in the launch of the telco's co-branding partnership with Cherry Mobile Globe Telecom remained the dominant player...
  11. Z

    Closed Programming need help pls

    pa help po sa mga meron time . 5 mons lang po. plsss/ Meron akong i propose na system then need help po. for coding. Meron na rin kaming document para nito. programming need programmers. thanks po
  12. Z

    Closed Need help for coding. Mobile App Pls .

    pa help po sa mga meron time . 5 mons lang po. plsss/ Meron akong i propose na system then need help po. for coding. Meron na rin kaming document para nito. programming need programmers. thanks kaayu