wxFont: register only encoding when its found by ruby