Monday, 11 August 2014

Character Encoding

When data is stored and transmitted, it has to first be converted to binary. To convert the data into binary some coding mechanism required. For Example in ASCII 'a' represented by 97, '%' represented by 37. Whenever data is decoded, the character encoding must be known beforehand. Web browsers do this every time you view a website.

You can set and get the Character encoding with below methods.
    setCharacterEncoding(String env)
    getCharacterEncoding()





Prevoius                                                 Next                                                 Home

No comments:

Post a Comment