Closed AielloChan closed 7 months ago
import { compare as fastCompare } from '@napi-rs/pinyin'; const a = '你好'; const b = '123'; console.log(fastCompare(a, b), fastCompare(b, a)); // -1 -1
compare('饿', '鹅') // -1 Wrong
鹅é、饿è
ē、é、ě、è
So compare('饿', '鹅') need to be 1