Hi,
Can someone look at this patch. It should fix bug #12845.
The current tests for conversions are very minimal. I expanded them abit for this bug.
I think the binary search in the .map files should be removed but Ileave that for another patch.