adjust charset