You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
				
				
					
						
						
							|  | use strict; | 
						
						
							|  | use warnings; | 
						
						
							|  | use utf8; | 
						
						
							|  | use Test::More tests => 4; | 
						
						
							|  | use Text::Markdown::Discount; | 
						
						
							|  | 
 | 
						
						
							|  | { | 
						
						
							|  |     my $perl_string = '# あ'; | 
						
						
							|  |     my $html = Text::Markdown::Discount::markdown($perl_string); | 
						
						
							|  |     like $html, qr!<h1>あ</h1>!; | 
						
						
							|  |     ok utf8::is_utf8($html); | 
						
						
							|  | } | 
						
						
							|  | 
 | 
						
						
							|  | { | 
						
						
							|  |     no utf8; | 
						
						
							|  |     my $byte = '# あ'; | 
						
						
							|  |     my $html = Text::Markdown::Discount::markdown($byte); | 
						
						
							|  |     like $html, qr!<h1>あ</h1>!; | 
						
						
							|  |     ok !utf8::is_utf8($html); | 
						
						
							|  | }
 |