add utf8 support
This commit is contained in:
		
							parent
							
								
									96d75986f2
								
							
						
					
					
						commit
						284d5889b1
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -2,11 +2,15 @@ | |||
| 
 | ||||
| use strict; | ||||
| use warnings; | ||||
| use utf8; | ||||
| 
 | ||||
| use DBI; | ||||
| use Encode qw(encode decode); | ||||
| use Supporters; | ||||
| 
 | ||||
| binmode STDOUT, ":utf8"; | ||||
| binmode STDIN, ":utf8"; | ||||
| 
 | ||||
| if (@ARGV != 1 and @ARGV !=2) { | ||||
|   print STDERR "usage: $0 <SUPPORTERS_SQLITE_DB_FILE> <VERBOSITY_LEVEL>\n"; | ||||
|   exit 1; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn