Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for prohibitionSurrogateCodes (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt

       * surrogates with '?', we can't test this behavior with Java Strings. Instead, pass the surrogate
       * code itself encoded as UTF-8 sequence.
       */
      @Test fun prohibitionSurrogateCodes() {
        // UTF-8 encoding of the high surrogate U+D800.
        assertThat(stringPrep(Buffer().write("eda080".decodeHex()))).isNull()
      }
    
      @Test fun prohibitionInappropriateForPlainText() {
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top