http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5691
------- Additional Comments From [EMAIL PROTECTED] 2007-10-25 12:40 ------- (In reply to comment #15) > The body pattern test doesn't match even if the body pattern rule written in > Japanese, which encoding is UTF-8, is used. SA rules files are encoded in ISO-8859-1, not UTF-8. You have to either encode Japanese characters in pattern tests using \x sequences or develop a new feature adding support for UTF-8 config files to SA. > The following attention is written in 'perldoc utf8' > * $success = utf8::downgrade($string[, FAIL_OK]) > > snip... > > Note that this function does not handle arbitrary encodings. > Therefore Encode.pm is recommended for the general purposes. > > Not affected by the encoding pragma. > > NOTE: this function is experimental and may change or be removed > without notice. The "NOTE" has been there for years and is most likely out of date. The only alternatives to using that function are to reimplement the same semantics some other way or to impose the performance penalty in cases where it is not necessary. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
