Created
August 23, 2016 13:52
-
-
Save WooForce/4b23a5781f525ec15d65634f891517dc to your computer and use it in GitHub Desktop.
UPS - convert charset while creating label
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('wf_ups_shipment_confirm_request', 'wf_ups_convert_charset'); | |
function wf_ups_convert_charset($request){ | |
return iconv("UTF-8", "ISO-8859-1//TRANSLIT", $request); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment