updated for beta4. Added chinese characters as example