xbmc/xbmc — pull request #3418 by Karlson2k (2013-10-13 11:15:37+00:00)
Title: CharsetConverter rework - part 04

This is a (hopefully) final part of CharsetConverter rework.
It's based on previous parts and include [Part 03](https://github.com/xbmc/xbmc/pull/3326) commits, so actual part 04 commits start from 62fb241 "remove unused parameter".
This part is FriBiDi related. BiDi wrapper function was simplified, optimized and fixed.
Some cosmetics and cleanup are included.