Use constants

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fixed issue #2175: TortoiseGitBlame fails to search if line has non-ascii chars and system locale is not US

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>