1yuikns 32 天前
'ﬃ' == '\ufb03'
'ß' == '\u00DF'
> "ß" character is equivalent to "ss" (used in German, for example), and this is defined so in your Locale (the Locale you are using in your app).
> When using capital letters, SS has historically stood for ß. However, in some fonts, there also exists a corresponding capital letter; its usage is optional <§ 25 E3>.
不太明白 "否则可能会溢出" 这个结论。用啥字符串就拿啥 .length 呗。要是 for each，不妨试试 map foreach 等？
2mytry 32 天前