DHIS2 connector encoding error

thanks @amine, am sorry i had missed that PR, i think separating the encoding fix from that new feature would make it easier to review the change. please point me to the 2 PRs as soon as you have them so i can review