Ignore:
Timestamp:
Aug 16, 2017, 12:53:41 PM (7 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Branches:
master
Children:
5dee79a
Parents:
47225c9
git-author:
Jason Gross <jgross@mit.edu> (01/01/14 20:59:51)
git-committer:
Jason Gross <jasongross9@gmail.com> (08/16/17 12:53:41)
Message:
Use g_utf8_casefold and g_utf8_normalize

We define a convenience function compat_casefold in util.c for reuse in
filters.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Jabber/lib/BarnOwl/Message/Jabber.pm

    reea7bed4 rd2ba33c  
    1515
    1616use base qw( BarnOwl::Message );
    17 use Unicode::Normalize qw( NFKC );
    1817
    1918sub jtype { shift->{jtype} };
     
    174173
    175174sub log_filenames {
    176     return map { lc(NFKC($_)) } BarnOwl::Message::log_filenames(@_);
     175    return map { BarnOwl::compat_casefold($_) } BarnOwl::Message::log_filenames(@_);
    177176}
    178177
Note: See TracChangeset for help on using the changeset viewer.