[PATCH]: Add CPLRecode() implementation based on iconv() function
|Reported by:||dron||Owned by:||dron|
RPC 23: Unicode support in OGR suggests to introduce the extended CPLRecode() implementation which can do various conversions using iconv() function. There is a patch implementing this. I have added a separate module cpl_recode_iconv.cpp doing the conversion and frontend module cpl_recode.cpp which falls back to cpl_recode_stub.cpp if iconv() is not available at compile time.
What is NOT done in this patch:
- Unix configure stuff (pretty trivial);
- Windows configure stuff (not so trivial);
- Workarounds for iconv() differences on various platforms (could be done per further reports).
I am ready to proceed with applying the patch and implementing proper configuration if there will be no critics/objections.
Best regards, Andrey