add todo, change cbhistory.md encoding