Changeset 11124
- Timestamp:
- 03/15/10 10:17:39 (2 years ago)
- File:
-
- 1 edited
-
trunk/Padre/lib/Padre/Locale.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Locale.pm
r11123 r11124 599 599 # Because Encode::Guess is slow and expensive, do an initial fast 600 600 # regexp scan for the simplest and most common "ascii" encoding. 601 # Check for POSIX printable characters, plus the two newline characters. 602 #return 'ascii' unless $content =~ /[^[:print:]\015\012]/; 601 return 'ascii' unless $content =~ /[^[:ascii:]]/; 603 602 604 603 # FIX ME
Note: See TracChangeset
for help on using the changeset viewer.
