thanks for the response, and the localization thing is definitely interesting and will remember that in the future.
The solution I decided to go with is just convert everything into a string variable (as it all works normally with string) and convert things back and forth between string and text, just to simplify the whole process.