unicode - Difference between text file encoding in Android -


what difference between different text file encoding android project, such as:

  • utf-8
  • utf-16be
  • utf-16le
  • utf-16
  • iso-8859-1
  • us-ascii

for example, displaying korean, know should use utf-8. when should use others?

about character_encoding , difference http://en.wikipedia.org/wiki/character_encoding.

usually utf-8 works fine cross platform , multiple language. http://en.wikipedia.org/wiki/utf-8

but korean version of windows use unified hangul code

unified hangul code (uhc) extends wansung code adding missing 8,822 hangul characters, , designed smooth migration unicode version 2.0. wansung code points map directly same uhc code points (but not vice versa). uhc provides round trip mapping unicode version 2.0. uhc used in korean versions of windows 95 , windows nt.

there command iconv under linux (and libiconv c programming language), encoding translation.

iconv -l 

to list encoding iconv supports.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -