added functions to test for non-english text