public class MobileTextUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static char[][] |
CHAR_TABLE |
| Constructor and Description |
|---|
MobileTextUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
replaceAccentedChars(StringBuilder buffer)
Replace accented characters with their ascii equivalents.
|
static int |
replaceSafeUnicodeChars(StringBuilder buffer)
Replace unicode characters with their ascii equivalents, limiting
replacement to "safe" characters such as smart quotes to dumb quotes.
|
public static int replaceSafeUnicodeChars(StringBuilder buffer)
buffer - The buffer containing the characters to analyze and replace
if necessary.public static int replaceAccentedChars(StringBuilder buffer)
buffer - The buffer containing the characters to analyze and replace
if necessary.Copyright © 2012-2014 Cloudhopper by Twitter. All Rights Reserved.