Fix character problems on macbook