support empty transactions
basis readAsDataURL implementation
is any charset conversion needed?