Skip to content

v1.7.0

Compare
Choose a tag to compare
@hymkor hymkor released this 15 Apr 02:53
· 119 commits to master since this release
  • Added the -auto option to enable running automated tests even without Expect-Lua. Using this option, all test programs were rewritten in PowerShell. nkf32 is no longer required for testing.
  • Added the -16le and -16be options to force interpretation as UTF-16 little-endian or big-endian encoding, respectively.
  • -semicolon: Enabled using semicolons as field delimiters (for some European locales that use commas as decimal separators). Considered allowing arbitrary delimiter strings, but decided against it to avoid potential issues.
  • -nonutf8: Added an option to handle cases where data is incorrectly interpreted as UTF-8 when it is not actually encoded that way.
  • Added the -help option to display a list of available options.
  • Increased the number of leading bytes checked to detect UTF-16 encoding from the previous value to 10 bytes.

  • Expect-Lua がなくても自動テストできるようにするためのオプション -auto を追加。これを使って、テスト用プログラムを全部 PowerShell で書き直した。テストで nkf32 も不要になった。
  • 強制的にUTF16と判断させるオプション -16le, -16be を追加
  • -semicolon: セミコロンを区切り文字列に使えるようにした(カンマを小数点と扱うような一部のヨーロッパ用:任意の区切り文字列を使えるようにしてもよかったが、無駄に増やしてもトラブル源になるため)
  • -nonutf8 : UTF8じゃないのに、UTF8扱いされてしまう時に使うオプションを追加
  • オプション一覧を表示する -help オプションを追加
  • UTF16 かどうかを判断する先読みバイト数を10バイトに拡大