Ampps on mac, additional configuration info
Installation and Configuration
Turns out there is a php extension iconv.so which needs to be enabled.
I'll update the first post in the thread with that hard won info
$str = @iconv('UTF-8', 'ASCII//TRANSLIT', substr(trim($string), 0, 128));//$str = @iconv('UTF-8', 'ASCII//TRANSLIT', substr(trim($string), 0, 128));
$str = "thiswillgivethewrongurl";
; You can redirect all of the output of your scripts to a function. For; example, if you set output_handler to "mb_output_handler", character
; encoding will be transparently converted to the specified encoding.
; Setting any output handler automatically turns on output buffering.
; Note: People who wrote portable scripts should not depend on this ini
; directive. Instead, explicitly set the output handler using ob_start().
; Using this ini directive may cause problems unless you know what script
; is doing.
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
; Note: output_handler must be empty if this is set 'On' !!!!
; Instead you must use zlib.output_handler.
; http://php.net/output-handler
;output_handler =[iconv]
;iconv.input_encoding = ISO-8859-1
;iconv.internal_encoding = ISO-8859-1
;iconv.output_encoding = ISO-8859-1#wrapper {
margin: 0px auto;
padding: 12px 0px;
background-color: #0C1634;
}#wrapper {
margin:0 auto;
padding-top:72px;
background-color:#EEEEEE;
padding-bottom: 12px;
}