trim() removes german special chars
Archives Forums/Blitz3D Bug Reports/trim() removes german special chars
| ||
i have noticed that the trim()-function mostly trims the german special chars: test$="ä test ä":Print Trim(test) ; result: "test" test$="ö test ö":Print Trim(test) ; result: "test" test$="ü test ü":Print Trim(test) ; result: "ü test ü" test$="Ä test Ä":Print Trim(test) ; result: "test" test$="Ö test Ö":Print Trim(test) ; result: "test" test$="&Uml test &Uml":Print Trim(test) ; result: "test" test$="ß test ß":Print Trim(test) ; result: "test" WaitKey End |
| ||
sorry. something went wrong with my first post. hopefully this one works: test$="ä test ä":Print Trim(test) ; result: "test" test$="ö test ö":Print Trim(test) ; result: "test" test$="ü test ü":Print Trim(test) ; result: "ü test ü" test$="Ä test Ä":Print Trim(test) ; result: "test" test$="Ö test Ä":Print Trim(test) ; result: "test" test$="Ü test Ü":Print Trim(test) ; result: "test" test$="ß test ß":Print Trim(test) ; result: "test" WaitKey End |
| ||
Try this: http://www.blitzmax.com/codearcs/codearcs.php?code=137 |