in reply to Help in finding encoding

i have a perl script piped to an email in the script i need to read the email and do some processing i want to know what will be the encoding if i extract some numbers from the email and store in a variable

There will be no encoding, you will have bytes (or "octets")

Now, whether or not you can decode those octets as UTF... depends entirely on those other programs, not perl