Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 0xFFFD (0.34 sec)

  1. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            // and everything else is replaced with FFFD.
            assertEscaping(xmlEscaper, "\uFFFD", ch);
          }
        }
    
        // Test _all_ allowed characters (including surrogate values).
        for (char ch = 0x20; ch <= 0xFFFD; ch++) {
          // There are a small number of cases to consider, so just do it manually.
          if (ch == '&') {
            assertEscaping(xmlEscaper, "&amp;", ch);
          } else if (ch == '<') {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/xml/XmlEscapers.java

       * escaper to escape attribute values. Use {@link #xmlContentEscaper} if the output can appear in
       * 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    	{" ", []rune{32}, false},
    	{"ABC", []rune{65, 66, 67}, false},
    	{"abc", []rune{97, 98, 99}, false},
    	{"\u65e5\u672c\u8a9e", []rune{26085, 26412, 35486}, false},
    	{"ab\x80c", []rune{97, 98, 0xFFFD, 99}, true},
    	{"ab\xc0c", []rune{97, 98, 0xFFFD, 99}, true},
    }
    
    func TestRunes(t *testing.T) {
    	for _, tt := range RunesTests {
    		tin := []byte(tt.in)
    		a := Runes(tin)
    		if !slices.Equal(a, tt.out) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  4. doc/go_spec.html

    and the second value, of type <code>rune</code>, will be the value of
    the corresponding code point. If the iteration encounters an invalid
    UTF-8 sequence, the second value will be <code>0xFFFD</code>,
    the Unicode replacement character, and the next iteration will advance
    a single byte in the string.
    </li>
    
    <li>
    The iteration order over maps is not specified
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
Back to top