Jens,

Haven't dug deep into your checker or anything, but shouldn't this line here:

case $sEncoded==$sDecoded

be like this:

case $sSource==$sDecoded

-Shawn