in reply to Re^2: convert encoding
in thread convert encoding

I admit I did only test my code on Linux (where it produces the "ü").

However, given your post here, I am wondering whether Data::Dumper is the best choice. If you could explain what you are trying to accomplish in that code, that would help us help you. See also How do I post a question effectively?