Skip to content

Instantly share code, notes, and snippets.

@WooForce
Created August 23, 2016 13:52
Show Gist options
  • Save WooForce/4b23a5781f525ec15d65634f891517dc to your computer and use it in GitHub Desktop.
Save WooForce/4b23a5781f525ec15d65634f891517dc to your computer and use it in GitHub Desktop.
UPS - convert charset while creating label
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