Home
last modified time | relevance | path

Searched refs:BOM (Results 1 – 25 of 36) sorted by relevance

12

/external/webkit/LayoutTests/fast/encoding/
Dbom-in-content-expected.txt1 Test for bug 18681: BOM characters should not be removed from input stream.
Dbom-in-content-utf16-expected.txt1 Test for bug 18681: BOM characters should not be removed from input stream.
Dcss-cached-bom-expected.txt1 Test that stylesheet with BOM is correctly parsed when loaded from cache. You should see word SUCCE…
/external/icu4c/samples/ugrep/
DMakefile17 CHECK_ARGS=BOM readme.txt
Dreadme.txt15 begin with a BOM, in which case they are assumed to be in the UTF encoding
16 specified by the BOM. Program output is always in the system's default
/external/webkit/Source/WebCore/xml/
DXSLStyleSheetLibxslt.cpp139 const UChar BOM = 0xFEFF; in parseString() local
140 const unsigned char BOMHighByte = *reinterpret_cast<const unsigned char*>(&BOM); in parseString()
/external/icu4c/test/cintltst/
Dccapitst.c286 UChar BOM = 0x0000; in TestConvert() local
771 …ucnv_setFromUCallBack(myConverter, otherUnicodeAction(MIA1), &BOM, &oldFromUAction, &oldFromUConte… in TestConvert()
778 if (MIA1_2 != otherUnicodeAction(MIA1) || MIA1Context2 != &BOM) in TestConvert()
785 … if (U_FAILURE(err) || oldFromUAction != otherUnicodeAction(MIA1) || oldFromUContext != &BOM) in TestConvert()
799 …ucnv_setFromUCallBack(myConverter, otherUnicodeAction(MIA1), &BOM, &oldFromUAction, &oldFromUConte… in TestConvert()
801 if(MIA1_2 == otherUnicodeAction(MIA1) || MIA1Context2 == &BOM){ in TestConvert()
811 … ucnv_setToUCallBack(myConverter,otherCharAction(MIA2), &BOM, &oldToUAction, &oldToUContext, &err); in TestConvert()
818 if (MIA2_2 != otherCharAction(MIA2) || MIA2Context2 != &BOM) in TestConvert()
825 if (U_FAILURE(err) || oldToUAction != otherCharAction(MIA2) || oldToUContext != &BOM) in TestConvert()
839 if (MIA2_2 == otherCharAction(MIA2) || MIA2Context2 == &BOM){ in TestConvert()
[all …]
/external/icu4c/data/mappings/
Dconvrtrs.txt153 # The ICU 2.2 UTF-16/32 converters detect and write a BOM.
155 ibm-1204 { IBM* } # UTF-16 with IBM PUA and BOM sensitive
156 ibm-1205 { IBM } # UTF-16 BOM sensitive
206 ibm-1236 { IBM* } # UTF-32 with IBM PUA and BOM sensitive
207 ibm-1237 { IBM } # UTF-32 BOM sensitive
235 # "BOM" means the Unicode Byte Order Mark, which is the encoding-scheme-specific
237 # "Reverse BOM" means the BOM for the sibling encoding scheme with the
243 # From Unicode: Writes BOM.
244 # To Unicode: Detects and consumes BOM.
245 # If there is a "reverse BOM", Java throws
[all …]
/external/icu4c/extra/uconv/resources/
Droot.txt63 " --add-signature add a U+FEFF Unicode signature character (BOM)\n"
64 … " --remove-signature remove a U+FEFF Unicode signature character (BOM)\n"
Dfr.txt65 " --add-signature add a U+FEFF Unicode signature character (BOM)\n"
66 " --remove-signature remove a U+FEFF Unicode signature character (BOM)\n"
/external/icu4c/test/testdata/
Dconversion.txt58 // Java "Unicode" requires a BOM
66 // Java "UnicodeBig" requires a BE BOM or no BOM; it consumes the BE BOM
74 // Java "UnicodeLittle" requires an LE BOM or no BOM; it consumes the LE BOM
77 …{ "x-UTF-16LE-BOM", :bin{ feff6100 }, "\\xFE\\xFFa", :intvector{ 0,0,0,0,0,0,0,0,2 }, :int{1},…
981 // Java "UnicodeBig" writes a BOM
985 // Java "UnicodeLittle" writes a BOM
1171 // UTF-16/32: do not output a BOM if there is no data at all
Ddcfmtest.txt2 # Note: Please make sure that this utf-8 file contains a BOM.
/external/webkit/Source/WebCore/dom/
DXMLDocumentParserLibxml2.cpp376 const UChar BOM = 0xFEFF; in switchToUTF16() local
377 const unsigned char BOMHighByte = *reinterpret_cast<const unsigned char*>(&BOM); in switchToUTF16()
1370 const UChar BOM = 0xFEFF; in xmlDocPtrForString() local
1371 const unsigned char BOMHighByte = *reinterpret_cast<const unsigned char*>(&BOM); in xmlDocPtrForString()
Dxml_expat_tokenizer.cpp730 static const UChar BOM = 0xFEFF; in write() local
731 static const unsigned char BOMHighByte = *reinterpret_cast<const unsigned char*>(&BOM); in write()
/external/tinyxml/
Dchanges.txt207 - Documents loaded with the UTF-8 BOM will now save with the UTF-8 BOM. Good suggestion
/external/markdown/docs/
DCHANGE_LOG74 Oct 30, 2007: Fixed BOM removal (thanks Malcolm Tredinnick). Fixed
/external/expat/
DChanges131 - Fix the UTF-8 BOM bug.
/external/libvpx/examples/includes/PHP-Markdown-Extra-1.2.3/
DPHP Markdown Extra Readme.text274 * Now removing the UTF-8 BOM at the start of a document, if present.
/external/webkit/Source/WebCore/
DChangeLog-2003-10-257169 - fixed 3253461 -- stylesheet-reading code does not support BOM
7170 - fixed 3253359 -- XML parser does not allow UTF-8 BOM
7175 (KWQTextDecoder::convertUTF16): Moved the BOM-based endianness detection out of here;
7177 need one byte of it. Remove any BOM characters encountered within the text.
7178 (KWQTextDecoder::convertUsingTEC): Remove any BOM characters encountered within the text.
7179 (KWQTextDecoder::toUnicode): Do all the BOM detection at this level, including the
7180 UTF-8 BOM as well as the UTF-16 BOM.
7182 * khtml/misc/decoder.cpp: (Decoder::decode): Don't bother stripping the UTF-8 BOM.
7320 * khtml/misc/decoder.cpp: (Decoder::decode): Added handling of the UTF-8 BOM
7321 to the code that already handled the UTF-16 BOM.
[all …]
DChangeLog-2006-12-3132511 * platform/TextDecoder.cpp: Added. Contains logic to look for a BOM and hand the data
32534 BOM, UTF-16, and Latin-1; those are now handled elsewhere. Removed textEncodingSupported
32556 BOM, UTF-16, and Latin-1; those are now handled elsewhere. Removed textEncodingSupported
33925 (Decoder::decode): Use setEncodingName() to apply encoding from BOM. Don't try to ensure the
42681 * http/tests/misc/BOM-override.pl
42682 * http/tests/misc/BOM-override-script.html
48239 (WebCore::StreamingTextDecoder::appendOmittingBOM): Only omit BOM characters.
DChangeLog-2009-06-1631447 Text resource loading checks for BOM twice
31449 This removes TextDecoder class, since its only purpose was to check for BOM, which is
31451 BOM checked, but I didn't find any cases where it would significantly change behavior.
31470 … (WebCore::TextResourceDecoder::checkForBOM): Removed a FIXME saying that a BOM could override
31472 BOM again. Made this function return the detected BOM length.
31473 (WebCore::TextResourceDecoder::decode): Skip the BOM if it was found at the beginning of
31476 … resource again (as frequently done by CachedResource subclasses) will skip the BOM correctly.
31480 checks for BOM, which was a counter-intuitive feature.
31490 Use TextResourceDecoder, as TextEncoding::decode() no longer checks for BOM.
71445 Reset text decoder on flush so it does not pass through the BOM when it is reused.
/external/mksh/src/
Dcheck.t5215 Check that we can execute BOM-shebangs (failures not fatal)
5241 Reading the UTF-8 BOM should enable the utf8-mode flag
/external/webkit/Source/JavaScriptCore/
DChangeLog-2011-02-168877 \uFEFF Byte Order Mark <BOM>
8880 Add BOM to spaces table.
19858 Add BOM character to the Lexer's definition of whitespace,
20953 Move BOM handling out of the lexer and parser
20956 Doing the BOM stripping in the lexer meant that we could
21115 Move BOM handling out of the lexer and parser
21118 Doing the BOM stripping in the lexer meant that we could
DChangeLog-2008-08-1015752 <rdar://problem/5934376> REGRESSION: A script fails because of a straw BOM character in it.
15757 Of all Cf characters, we are only removing BOM, because this is what Firefox trunk has
15767 (KJS::Lexer::shift): Add a loop when reading a character to skip BOM characters.
DChangeLog-2009-06-165625 to handle BOM characters.
5633 to scan for a BOM character and call copyCodeWithoutBOMs() if we find any.

12