Bug 128618

Summary: check-for-webkit-framework-include-consistency script fails if header contains unicode
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Anders Carlsson 2014-02-11 13:22:29 PST
If a header contains a unicode character (like – or “ or ” for example), check-for-webkit-framework-include-consistency fails :

../../Tools/Scripts/check-for-webkit-framework-include-consistency:93:in `match': invalid byte sequence in US-ASCII (ArgumentError)
	from ../../Tools/Scripts/check-for-webkit-framework-include-consistency:93:in `block (2 levels) in verify_includes'
	from ../../Tools/Scripts/check-for-webkit-framework-include-consistency:92:in `each_line'
	from ../../Tools/Scripts/check-for-webkit-framework-include-consistency:92:in `block in verify_includes'
	from ../../Tools/Scripts/check-for-webkit-framework-include-consistency:91:in `open'
	from ../../Tools/Scripts/check-for-webkit-framework-include-consistency:91:in `verify_includes'
	from ../../Tools/Scripts/check-for-webkit-framework-include-consistency:105:in `block (2 levels) in <main>'
	from ../../Tools/Scripts/check-for-webkit-framework-include-consistency:104:in `each'
	from ../../Tools/Scripts/check-for-webkit-framework-include-consistency:104:in `block in <main>'
	from ../../Tools/Scripts/check-for-webkit-framework-include-consistency:102:in `each'
	from ../../Tools/Scripts/check-for-webkit-framework-include-consistency:102:in `<main>'