ものがたり(旧)

atsushieno.hatenablog.com に続く

2005-07-01から1日間の記事一覧

IsSuffix() - unstable algorithm

IsSuffix ("\u00E6", "e") in invariant -> false IsSuffix ("zs", "s") in hungarian*1 -> true バグだらけじゃんWindows。 *1:zsはcontraction

IgnoreCase + tailoring

これってUCAでは出来てるんだろーか。要検討。

IndexOf() - unstable algorithm

expansionに大ハマりです。今、こんなAPIがあるとします。まあCompareInfoなんですけど。 int IndexOf (string source, string target)で、引数に"\u00E6"を渡すことを考えます。ちなみにU+E6はaとeの合字です。なので、 IndexOf ("01234\u00E6", "ae")は5を…