trim() removes german special chars

Archives Forums/Blitz3D Bug Reports/trim() removes german special chars

HWMann(Posted 2006) [#1]
i have noticed that the trim()-function mostly trims the german special chars:

test$="&auml test &auml":Print Trim(test) ; result: "test"
test$="&ouml test &ouml":Print Trim(test) ; result: "test"
test$="&uuml test &uuml":Print Trim(test) ; result: "&uuml test &uuml"
test$="&Auml test &Auml":Print Trim(test) ; result: "test"
test$="&Ouml test &Ouml":Print Trim(test) ; result: "test"
test$="&Uml test &Uml":Print Trim(test) ; result: "test"
test$="&szlig test &szlig":Print Trim(test) ; result: "test"

WaitKey
End


HWMann(Posted 2006) [#2]
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


@rtur(Posted 2006) [#3]
Try this:
http://www.blitzmax.com/codearcs/codearcs.php?code=137