add Redmine::CodesetUtil and move replacing invalid utf8 logic to it.
Authored by: tmaruyama 2011-04-16
Parent: [r5473]
Child: [r5475]