Hi! You could use my regexp module http://zanazan.am/erlang/re.html to match encoding :) /Gaspar -- Gaspar Chilingarov System Administrator, Network security consulting t +37493 419763 (mob) i 63174784 e nm@REDACTED