Changeset 9054

Show
Ignore:
Timestamp:
11/26/07 13:05:30 (12 months ago)
Author:
asterix
Message:

handle unicode chars in emoticons. fixes #3227

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.3-bugfixes/src/gajim.py

    r8955 r9054  
    17921792                # basic matches that may occur earlier 
    17931793                emot_and_basic_pattern = basic_pattern + emoticons_pattern 
    1794                 self.emot_and_basic_re = re.compile(emot_and_basic_pattern, re.IGNORECASE) 
     1794                self.emot_and_basic_re = re.compile(emot_and_basic_pattern, 
     1795                        re.IGNORECASE + re.UNICODE) 
    17951796                 
    17961797                # at least one character in 3 parts (before @, after @, after .)