Chinese users encounter problems fixed.

I am a tvheadend users in China. 
I found some problems encountered by users in China,, I repair as follows: 
1, Streamguard CA card can not decode the problem. 
2, do not support the GB2312 encoding and UCS2 encoding issues. 
3, some Chinese cable channels lost AC3 audio PID problem. 
Sorry for my poor English.
Keep "} else if" and " != " (spaces).