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