Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 0xFFFD (0.03 sec)

  1. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  2. doc/go1.17_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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  3. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top