mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-10-28 23:34:53 +03:00 
			
		
		
		
	Handle more cases of combining characters
[BZ #21750] * unicode-gen/utf8_gen.py: Treat category Me and Mn as combining.
This commit is contained in:
		
				
					committed by
					
						 Mike FABIAN
						Mike FABIAN
					
				
			
			
				
	
			
			
			
						parent
						
							580be3035d
						
					
				
				
					commit
					41b6f0ce85
				
			| @@ -232,7 +232,7 @@ def process_width(outfile, ulines, elines): | |||||||
|             width_dict[key] = unicode_utils.ucs_symbol(key) + '\t2' |             width_dict[key] = unicode_utils.ucs_symbol(key) + '\t2' | ||||||
|     for line in ulines: |     for line in ulines: | ||||||
|         fields = line.split(";") |         fields = line.split(";") | ||||||
|         if fields[4] == "NSM" or fields[2] == "Cf": |         if fields[4] == "NSM" or fields[2] in ("Cf", "Me", "Mn"): | ||||||
|             width_dict[int(fields[0], 16)] = unicode_utils.ucs_symbol( |             width_dict[int(fields[0], 16)] = unicode_utils.ucs_symbol( | ||||||
|                 int(fields[0], 16)) + '\t0' |                 int(fields[0], 16)) + '\t0' | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user