Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for InvalidUTF8Error (1.72 sec)

  1. src/encoding/json/encode.go

    }
    
    // Before Go 1.2, an InvalidUTF8Error was returned by [Marshal] when
    // attempting to encode a string value with invalid UTF-8 sequences.
    // As of Go 1.2, [Marshal] instead coerces the string to valid UTF-8 by
    // replacing invalid bytes with the Unicode replacement rune U+FFFD.
    //
    // Deprecated: No longer used; kept for compatibility.
    type InvalidUTF8Error struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
Back to top