Hi, I try to convert from CP1252 to UTF8 with the encodings package like this :
import encodings
echo convert("\xE4\xF6", "UTF-8", "CP1252") # should output �� - but it doesn't
echo convert("\xE4\xF6", "CP1252", "UTF-8") # now it works
according to the documentation and the code, the first encoding string is the destination and the second the source, but it looks like the meanings are swapped - I am confused ;-)