This is a Java 6 API which means it only works on Gingerbread and up (for Android). We have to stick with the normal string "UTF-8" bytes method with the ugly try/catch that will never happen.