Centralize charbuf calculation