Searched refs:encodeInUtf8 (Results 1 – 1 of 1) sorted by relevance
133 public static NdefRecord newTextRecord(String text, Locale locale, boolean encodeInUtf8) { in newTextRecord() argument139 Charset utfEncoding = encodeInUtf8 ? Charset.forName("UTF-8") : Charset.forName("UTF-16"); in newTextRecord()142 int utfBit = encodeInUtf8 ? 0 : (1 << 7); in newTextRecord()