added decodechar function.
merged freader to ureader.
by FZD