simstring
simstring copied to clipboard
Cannot build unicode DB on Mac OS X
I cannot use simstring with unicode string.
Followings are what I executed.
$ ./sample_unicode
libc++abi.dylib: terminate called throwing an exception
Abort trap: 6
It also fails simstring command to build an unicode DB.
$ cat test.txt
あいうえお
あいうええ
ああああああ
あかさたな
$ simstring -bu -d test.db < test.txt
libc++abi.dylib: terminate called throwing an exception
Abort trap: 6
Environment: Mac OS X 10.8.2 XCode 4.6
$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
I cannot reproduce this on macOS 10.13.6 with Apple LLVM version 9.0.0 (clang-900.0.39.2).