I have some problem with utf-8 and java textfield. How can i get utf-8 format form textfield.
i use myanmar alphazawgyi code system.
please help me.
posted 7 years ago
I'm not familiar with that particular script, but generally you'd use the getText() method to get a String containing the contents of the TextField. You could then obtain a byte array that's UTF-8 encoded via String.getBytes("UTF-8"). Is that what you're asking?