- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 150 for 0xfffd (0.1 sec)
-
src/unicode/utf16/utf16_test.go
} var encodeTests = []encodeTest{ {[]rune{1, 2, 3, 4}, []uint16{1, 2, 3, 4}}, {[]rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff}, []uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff}}, {[]rune{'a', 'b', 0xd7ff, 0xd800, 0xdfff, 0xe000, 0x110000, -1}, []uint16{'a', 'b', 0xd7ff, 0xfffd, 0xfffd, 0xe000, 0xfffd, 0xfffd}}, } func TestEncode(t *testing.T) { for _, tt := range encodeTests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 6.5K bytes - Viewed (0) -
test/stringrange.go
// Test range over strings. package main import ( "fmt" "os" "unicode/utf8" ) func main() { s := "\000\123\x00\xca\xFE\u0123\ubabe\U0000babe\U0010FFFFx" expect := []rune{0, 0123, 0, 0xFFFD, 0xFFFD, 0x123, 0xbabe, 0xbabe, 0x10FFFF, 'x'} offset := 0 var i int var c rune ok := true cnum := 0 for i, c = range s { r, size := utf8.DecodeRuneInString(s[i:len(s)]) // check it another way
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 08 21:01:23 UTC 2012 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
} } // Test that 0xFFFE and 0xFFFF are replaced with 0xFFFD assertEscaping(xmlEscaper, "\uFFFD", '\uFFFE'); assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF'); assertEquals( "0xFFFE is forbidden and should be replaced during escaping", "[\uFFFD]", xmlEscaper.escape("[\ufffe]")); assertEquals( "0xFFFF is forbidden and should be replaced during escaping",
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.7K bytes - Viewed (0) -
test/fixedbugs/bug204.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main func main() { nchar := 0 a := []rune{'日', '本', '語', 0xFFFD} for _, char := range "日本語\xc0" { if nchar >= len(a) { println("BUG") break } if char != a[nchar] { println("expected", a[nchar], "got", char) println("BUG") break } nchar++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 460 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java
} } // Test that 0xFFFE and 0xFFFF are replaced with 0xFFFD assertEscaping(xmlEscaper, "\uFFFD", '\uFFFE'); assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF'); assertEquals( "0xFFFE is forbidden and should be replaced during escaping", "[\uFFFD]", xmlEscaper.escape("[\ufffe]")); assertEquals( "0xFFFF is forbidden and should be replaced during escaping",
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 16 19:54:45 UTC 2020 - 4.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/xml/XmlValidationTest.groovy
(0x20 - 1) | _ (0xd7ff + 1) | _ (0xe000 - 1) | _ (0xfffd + 1) | _ (0x10000 - 1) | _ (0x10ffff + 1) | _ } def "identifies legal character"() { expect: // Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] // /* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 22 14:56:07 UTC 2019 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
* element content or {@link #xmlAttributeEscaper} in attribute values. * * <p>This escaper substitutes {@code 0xFFFD} for non-whitespace control characters and the * character values {@code 0xFFFE} and {@code 0xFFFF} which are not permitted in XML. For more * detail see section <a href="http://www.w3.org/TR/2008/REC-xml-20081126/#charsets">2.2</a> of * the XML specification. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/xml/XmlEscapers.java
* element content or {@link #xmlAttributeEscaper} in attribute values. * * <p>This escaper substitutes {@code 0xFFFD} for non-whitespace control characters and the * character values {@code 0xFFFE} and {@code 0xFFFF} which are not permitted in XML. For more * detail see section <a href="http://www.w3.org/TR/2008/REC-xml-20081126/#charsets">2.2</a> of * the XML specification. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 6.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/xml/XmlValidation.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 22 14:56:07 UTC 2019 - 4.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.1K bytes - Viewed (0)