windows下的utf8文件头部字节

December 29th, 2009 by Bruce Dou Views:93

Microsoft自己为了方便识别utf8文件格式,在这类文件头部加入了efbbbf 几个字节。称为UTF8-BOM。

其他平台则没有这个现象。处理这类文本的时候需要将efbbbf先过滤掉。

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • 豆瓣
  • DZone
  • LinkedIn
  • MySpace
  • Reddit
  • RSS

Also see:

  • No Related Post

Tags:

Leave a Reply