test parser encoding