Home
last modified time | relevance | path

Searched refs:encodeInUtf8 (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Tag/src/com/android/apps/tag/record/
DTextRecord.java133 public static NdefRecord newTextRecord(String text, Locale locale, boolean encodeInUtf8) { in newTextRecord() argument
139 Charset utfEncoding = encodeInUtf8 ? Charset.forName("UTF-8") : Charset.forName("UTF-16"); in newTextRecord()
142 int utfBit = encodeInUtf8 ? 0 : (1 << 7); in newTextRecord()