Searched refs:UTF_8 (Results 1 – 6 of 6) sorted by relevance
19 import static com.google.common.base.Charsets.UTF_8;108 Files.write(testClass, srcFile1, Charsets.UTF_8); in test()114 Files.write(intdef, srcFile2, Charsets.UTF_8); in test()193 String symbol = new String(contents, i, length, UTF_8); in assertDoesNotContainBytes()
93 final byte[] content = "KITTENS".getBytes(StandardCharsets.UTF_8); in testNormalMetadataAndContents()224 final byte[] content = "KITTENS".getBytes(StandardCharsets.UTF_8); in testErrorAbortsWrite()
144 final String rawMeta = metaOut.toString(StandardCharsets.UTF_8.name()); in readMetadata()243 meta.toString().getBytes(StandardCharsets.UTF_8)); in writeMetadataAndContent()
92 private static final byte[] BLOB_DATA = "DATA".getBytes(StandardCharsets.UTF_8);94 private static final byte[] BLOB_MAC = "MAC".getBytes(StandardCharsets.UTF_8);
111 private static final Charset UTF_8 = Charset.forName("UTF-8"); field in DiskLruCache724 return readFully(new InputStreamReader(in, UTF_8)); in inputStreamToString()829 writer = new OutputStreamWriter(newOutputStream(index), UTF_8); in set()
380 part.setCharset(CharacterSets.UTF_8); in addTextPart()