damnhandy/Handy-URI-Templates — pull request #3 by tekener (2012-07-23 16:28:38+00:00)
Title: Bugfix to solve problems with special characters > 128 in values (e.g. 'ä')

If a special character with a byte > 128 (ä for example) is used in a
value, the numeric value is < 0 and the bit set throws an Exception.

See java.io.ByteArrayInputStream#read for example.