Searched full:charset (Results 1 – 25 of 15620) sorted by relevance
12345678910>>...625
30 * Any-charset = <Octet 128>31 * Equivalent to the special RFC2616 charset value "*"34 * Use Charset.availableCharsets() to see if a potential charset is supported in java:37 * SortedMap<String, Charset> charsets = Charset.availableCharsets();38 * for (Entry<String, Charset> entry : charsets.entrySet()) {40 * Charset value = entry.getValue();41 * logvv("charset key: " + key + " value: " + value);46 * Adobe-Standard-Encoding value: java.nio.charset.CharsetICU[Adobe-Standard-Encoding]47 * Big5 value: java.nio.charset.CharsetICU[Big5]48 * Big5-HKSCS value: java.nio.charset.CharsetICU[Big5-HKSCS][all …]
17 package org.apache.harmony.tests.java.nio.charset;22 import java.nio.charset.Charset;23 import java.nio.charset.CharsetDecoder;24 import java.nio.charset.CharsetEncoder;25 import java.nio.charset.CoderResult;26 import java.nio.charset.IllegalCharsetNameException;27 import java.nio.charset.spi.CharsetProvider;28 import java.nio.charset.UnsupportedCharsetException;36 import libcore.java.nio.charset.SettableCharsetProvider;41 * Test class java.nio.Charset.[all …]
26 #include "charset.h"28 void test_any(struct charset *charset) in test_any() argument33 assert(charset); in test_any()37 assert(charset_mbtowc(charset, 0, 0, 0) == 0); in test_any()38 assert(charset_mbtowc(charset, 0, 0, 1) == 0); in test_any()39 assert(charset_mbtowc(charset, 0, (char *)(-1), 0) == 0); in test_any()41 assert(charset_mbtowc(charset, 0, "a", 0) == 0); in test_any()42 assert(charset_mbtowc(charset, 0, "", 1) == 0); in test_any()43 assert(charset_mbtowc(charset, 0, "b", 1) == 1); in test_any()44 assert(charset_mbtowc(charset, 0, "", 2) == 0); in test_any()[all …]
19 import java.nio.charset.Charset;20 import java.nio.charset.StandardCharsets;21 import java.nio.charset.UnsupportedCharsetException;29 …va documentation <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">53 …* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard …59 …// This class should only contain Charset instances for required encodings. This guarantees that i…63 private static final SortedMap<String, Charset> STANDARD_CHARSET_MAP;66 …final SortedMap<String, Charset> standardCharsetMap = new TreeMap<>(String.CASE_INSENSITIVE_ORDER);82 …* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard …83 * @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}[all …]
33 * Unit tests {@link org.apache.commons.lang3.CharSet}.39 assertTrue(Modifier.isPublic(CharSet.class.getModifiers())); in testClass()40 assertFalse(Modifier.isFinal(CharSet.class.getModifiers())); in testClass()45 assertSame(CharSet.EMPTY, CharSet.getInstance( (String) null)); in testGetInstance()46 assertSame(CharSet.EMPTY, CharSet.getInstance("")); in testGetInstance()47 assertSame(CharSet.ASCII_ALPHA, CharSet.getInstance("a-zA-Z")); in testGetInstance()48 assertSame(CharSet.ASCII_ALPHA, CharSet.getInstance("A-Za-z")); in testGetInstance()49 assertSame(CharSet.ASCII_ALPHA_LOWER, CharSet.getInstance("a-z")); in testGetInstance()50 assertSame(CharSet.ASCII_ALPHA_UPPER, CharSet.getInstance("A-Z")); in testGetInstance()51 assertSame(CharSet.ASCII_NUMERIC, CharSet.getInstance("0-9")); in testGetInstance()[all …]
27 package java.nio.charset;29 import com.android.icu.charset.CharsetFactory;39 import java.nio.charset.spi.CharsetProvider;59 // Android-changed: Docs to say UTF-8 is always the platform default charset.64 * for retrieving the various names associated with a charset. Instances of68 * charset is supported, for locating charset instances by name, and for69 * constructing a map that contains every charset for which support is72 * java.nio.charset.spi.CharsetProvider} class.79 * <h2>Charset names</h2>111 * A charset name must begin with either a letter or a digit. The empty string[all …]
20 from email.charset import Charset30 USASCII = Charset('us-ascii')31 UTF8 = Charset('utf-8')33 # Match encoded-word strings in the form =?charset?q?Hello_World?=36 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset62 """Decode a message header value without converting charset.64 Returns a list of (decoded_string, charset) pairs containing each of the65 decoded parts of the header. Charset is None for non-encoded parts of the93 charset, encoding = [s.lower() for s in parts[0:2]]112 if decoded and decoded[-1][1] == charset:[all …]
10 package com.ibm.icu.charset;14 import java.nio.charset.Charset;15 import java.nio.charset.IllegalCharsetNameException;16 import java.nio.charset.UnsupportedCharsetException;22 * <p>A subclass of java.nio.Charset for providing implementation of ICU's charset converters.24 …* from UTF-16. You can open a converter with {@link Charset#forName} and {@link #forNameICU}. With…31 * <p>Note that {@link #name()} cannot always return a unique charset name.32 * {@link Charset} documents that,33 * for charsets listed in the IANA Charset Registry,43 * <p>This is in conflict with the {@link Charset#name()} requirements.[all …]
... () public boolean contains (java.nio.charset.Charset) public java.nio.charset.
26 ATTR charset attributes-charset utf-8185 ATTR charset attributes-charset utf-8206 ATTR charset attributes-charset utf-8229 ATTR charset attributes-charset utf-8251 ATTR charset attributes-charset utf-8272 ATTR charset attributes-charset utf-8295 ATTR charset attributes-charset utf-8317 ATTR charset attributes-charset utf-8338 ATTR charset attributes-charset utf-8361 ATTR charset attributes-charset utf-8[all …]
20 from email import charset as _charset21 Charset = _charset.Charset variable31 USASCII = Charset('us-ascii')32 UTF8 = Charset('utf-8')34 # Match encoded-word strings in the form =?charset?q?Hello_World?=37 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset62 """Decode a message header value without converting charset.64 Returns a list of (string, charset) pairs containing each of the decoded65 parts of the header. Charset is None for non-encoded parts of the header,77 return [(_charset._encode(string, str(charset)), str(charset))[all …]
16 import java.nio.charset.Charset;17 import java.nio.charset.CharsetEncoder;248 * Sets the charset used in this document. This method is equivalent249 * to {@link OutputSettings#charset(java.nio.charset.Charset)250 * OutputSettings.charset(Charset)} but in addition it updates the251 * charset / encoding element within the document.254 * {@link #updateMetaCharsetElement(boolean) meta charset update}.</p>256 * <p>If there's no element with charset / encoding information yet it will257 * be created. Obsolete charset / encoding definitions are removed!</p>262 * <li><b>Html:</b> <i><meta charset="CHARSET"></i></li>[all …]
28 import java.nio.charset.Charset;32 * to bytes uses either a specified {@linkplain java.nio.charset.Charset charset}34 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.58 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}72 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.88 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}102 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.119 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}.130 * {@linkplain java.nio.charset.Charset charset}.133 * @param charset the {@linkplain java.nio.charset.Charset charset}[all …]
21 import java.nio.charset.Charset;22 import java.nio.charset.StandardCharsets;27 …entation <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard54 …* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard …61 …// This class should only contain Charset instances for required encodings. This guarantees that i…66 * Returns the given Charset or the default Charset if the given Charset is null.68 * @param charset69 * A charset or null.70 * @return the given Charset or the default Charset if the given Charset is null72 public static Charset toCharset(final Charset charset) { in toCharset() argument[all …]
16 // File: charset.h19 // This file contains absl::CharSet, a fast, bit-vector set of 8-bit unsigned24 // constexpr absl::CharSet kJustX = absl::CharSet::Char('x');25 // constexpr absl::CharSet kMySymbols = absl::CharSet("$@!");26 // constexpr absl::CharSet kLetters = absl::CharSet::Range('a', 'z');31 // constexpr absl::CharSet kLettersAndNumbers =32 // absl::CharSet::Range('a', 'z') | absl::CharSet::Range('0', '9');37 // constexpr absl::CharSet kLettersAndWhitespace =38 // absl::CharSet::AsciiAlphabet() | absl::CharSet::AsciiWhitespace();42 // absl::CharSet hex_letters("abcdef");[all …]