- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toAscii (0.03 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java
String expected = "www.codelibs.org"; assertEquals(expected, resolver.toAscii(host)); host = "ใในใ.org"; expected = "xn--zckzah.org"; assertEquals(expected, resolver.toAscii(host)); host = "xn--zckzah.org"; expected = "xn--zckzah.org"; assertEquals(expected, resolver.toAscii(host)); host = "%E3%83%86%E3%82%B9%E3%83%88.org";
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 06 07:24:43 UTC 2025 - 3.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
* * @param host the host string to convert * @return the ASCII representation of the host string */ protected String toAscii(final String host) { return IDN.toASCII(decode(host), flag); } /** * Sets the flag for IDN conversion. * * @param flag the flag to set */ public void setFlag(final int flag) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 06 07:24:43 UTC 2025 - 3.9K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
assertEquals( true, ioe.cause ?.cause ?.message ?.startsWith("Invalid input to toASCII"), ) } else -> throw ioe } } } @Test @Disabled("breaks conscrypt test") fun testBouncyCastleRequest() { assumeNetwork() try {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 29.9K bytes - Viewed (0)