Klar, aber das geht wenn dann nur außerhalb dieser Funktion, die die Komponente bereitstellt. Wenn es einmal nach String gecastet ist, ist es aus damit.
Ein Ausweg wäre UTF-8. Vor der Funktion UTF8Encode, diesen String übergeben, in der Funktion dann UTF8Decode.
Being smart will count for nothing if you don't make the world better. You have to use your smarts to count for something, to serve life, not death.