バイト配列から文字コードを判定できるコンポーネントがあるといいですね

System.Text.Encoding 付近には Unicode の BOF で判定する機能があるくらいで
日本語の Shift_JIS, euc-jp を判定できるような機能がないですね

もちろん 100% の精度なんて必要ないですけど
Internet Explorer 程度というかもう少し文字コードを推測できる機能が欲しい感じです

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Comments are closed