- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for unicode (0.17 sec)
-
android/guava/src/com/google/common/base/Utf8.java
* character encoding. UTF-8 is defined in section D92 of <a * href="http://www.unicode.org/versions/Unicode6.2.0/ch03.pdf">The Unicode Standard Core * Specification, Chapter 3</a>. * * <p>The variant of UTF-8 implemented by this class is the restricted definition of UTF-8 * introduced in Unicode 3.1. One implication of this is that it rejects <a * href="http://www.unicode.org/versions/corrigendum1.html">"non-shortest form"</a> byte sequences,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 10 14:11:51 GMT 2023 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AsciiTest.java
import junit.framework.TestCase; /** * Unit test for {@link Ascii}. * * @author Craig Berry */ @GwtCompatible public class AsciiTest extends TestCase { /** * The Unicode points {@code 00c1} and {@code 00e1} are the upper- and lowercase forms of * A-with-acute-accent, {@code Á} and {@code á}. */ private static final String IGNORED = "`10-=~!@#$%^&*()_+[]\\{}|;':\",./<>?'\u00c1\u00e1\n";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/EscapersTest.java
assertEquals("<hello><hi><lo>", unicodeEscaper.escape("x\uD800\uDC00")); // Test that wrapped escapers acquire good Unicode semantics. assertEquals("<hi><hello><lo>", charEscaper.escape("\uD800x\uDC00")); try { unicodeEscaper.escape("\uD800x\uDC00"); fail("should have failed for bad Unicode input"); } catch (IllegalArgumentException e) { // pass }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
// The char values \uFFFE and \uFFFF are explicitly not allowed in XML // (Unicode code points above \uFFFF are represented via surrogate pairs // which means they are treated as pairs of safe characters). builder.setSafeRange(Character.MIN_VALUE, '\uFFFD'); // Unsafe characters are replaced with the Unicode replacement character. builder.setUnsafeReplacement("\uFFFD"); /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
public final class InternetDomainNameTest extends TestCase { private static final InternetDomainName UNICODE_EXAMPLE = InternetDomainName.from("j\u00f8rpeland.no"); private static final InternetDomainName PUNYCODE_EXAMPLE = InternetDomainName.from("xn--jrpeland-54a.no"); /** The Greek letter delta, used in unicode testing. */ private static final String DELTA = "\u0394";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 05 13:16:00 GMT 2024 - 17.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
} /** * Asserts that a Unicode escaper does not escape the given character. * * @param escaper the non-null escaper to test * @param cp the Unicode code point to test */ public static void assertUnescaped(UnicodeEscaper escaper, int cp) { Assert.assertNull(computeReplacement(escaper, cp)); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
|| c > safeMaxChar || c < safeMinChar) { return escapeSlow(s, i); } } return s; } /** * Escapes a single Unicode code point using the replacement array and safe range values. If the * given character does not have an explicit replacement and lies outside the safe range then * {@link #escapeUnsafe} is called. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Utf8.java
* character encoding. UTF-8 is defined in section D92 of <a * href="http://www.unicode.org/versions/Unicode6.2.0/ch03.pdf">The Unicode Standard Core * Specification, Chapter 3</a>. * * <p>The variant of UTF-8 implemented by this class is the restricted definition of UTF-8 * introduced in Unicode 3.1. One implication of this is that it rejects <a * href="http://www.unicode.org/versions/corrigendum1.html">"non-shortest form"</a> byte sequences,
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 10 14:11:51 GMT 2023 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
} /** * Asserts that a Unicode escaper does not escape the given character. * * @param escaper the non-null escaper to test * @param cp the Unicode code point to test */ public static void assertUnescaped(UnicodeEscaper escaper, int cp) { Assert.assertNull(computeReplacement(escaper, cp)); } /**
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/EscapersTest.java
assertEquals("<hello><hi><lo>", unicodeEscaper.escape("x\uD800\uDC00")); // Test that wrapped escapers acquire good Unicode semantics. assertEquals("<hi><hello><lo>", charEscaper.escape("\uD800x\uDC00")); try { unicodeEscaper.escape("\uD800x\uDC00"); fail("should have failed for bad Unicode input"); } catch (IllegalArgumentException e) { // pass }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5K bytes - Viewed (0)