Merge pull request #30 from fyfe/fix-updateXBMCTables

Clean up and improve updateXBMCTables.

Add special characters support. thanks to fyfe