...happens server side, not in the browser, (b) the regex is looking for blank lines, not Japanese characters, and (c) it does not fail if the preceding character is ぐ (the character that webkit doesn't distinguish from く).
2. AFAIK, the mb_* functions don't use the Perl-compatible method, but...