Java Internationalization Charset

Java examples for Internationalization:Charset

Description

Click the following links for the tutorial for Internationalization and Charset.

  1. Converting Byte Arrays to and from Strings using Charset
  2. Use java.nio.charset.CharsetEncoder and java.nio.charset.CharsetDecoder to convert Unicode character buffers to and from byte buffers
  3. Java supports six character encodings:
  4. Demonstrates how characters are translated to byte sequences by various Charset implementations.
  5. How to decode a stream of bytes representing a character set encoding.
  6. A Charset implementation which performs Rot13 encoding.
  7. Converting Between Strings (Unicode) and Other Character Set Encodings
  8. Listing All Available Unicode to Character Set Converters


  9. Reading ISO Latin-1 Encoded Data
  10. change Charset
  11. String to ASCII
  12. String to GB2312
  13. String to GBK
  14. String to ISO-8859-1
  15. String to UTF-8
  16. String to UTF-16BE


  17. String to UTF-16
  18. String to UTF-16LE
  19. get Charset Decoder
  20. get Charset Encoder
  21. get Available Charsets
  22. get Default System Charset
  23. Returns a cached thread-local CharsetDecoder for the specified charset.
  24. Returns a cached thread-local CharsetEncoder for the specified charset.
  25. Decode text data with a specific charset
  26. Detect the charset of text data
  27. print Charsets
  28. Guess Charset
  29. decode byte array to CharBuffer
  30. encode CharBuffer
  31. guess Encoding
  32. new UTF Decoder
  33. String to Chinese Encoding
  34. unicode To Utf
  35. utf To Unicode
  36. Returns true if the specified character is a whitespace character (CR, LF, SP or HT).
  37. check if String contains Chinese by regex
  38. count Chinese Words by regex
  39. check For Non Ascii Chars
  40. Get String encode for text file
  41. Encodes an array of plain bytes into a hex encoded string
  42. Decodes a urlencoded string into a byte array.
  43. Encodes an array of plain bytes into a urlencoded string
  44. Translate characters in a String.
  45. decode Unicode
  46. to Big Endian Integer
  47. to Big Endian Long
  48. to Big Endian Short
  49. to Big Endian Dword
  50. to Big Endian Word
  51. to Little Endian Dword
  52. to Little Endian Word
  53. Converts byte[] to long[], assuming big-endian byte order.
  54. Converts byte[] to long[], assuming little-endian byte order.
  55. get Int Value From Byte Array Big Endian
  56. get Int Value From Byte Array Little Endian
  57. get Long Value From Byte Array Big Endian
  58. get Long Value From Byte Array Little Endian
  59. get Short Value From Byte Array Big Endian
  60. get Short Value From Byte Array Little Endian
  61. set Value To Byte Array Big Endian
  62. set Value To Byte Array Little Endian