factor common char encoding into main Target; version set to 4.4
Merge pull request #7 from parrt/factor-target

factor common char encoding into main Target; version set to 4.4