Command/TranslationsBaseCommand.php
/**
     * clean data replacing typographic commas and escaping doubles commas
     *
     * @param string $data
     *
     * @return string
     */
clean data replacing typographic commas and escaping doubles commas
@param string $data

@return string
clean data replacing typographic commas and escaping doubles commas @param string $data @return string
protected function clean($data)
    {
        $data = str_replace(
            array(
                '”','‘','’','´','“','€',"\r","\n",
            ),array(
                '"',"'","'","'",'"','&euro;','','',
            ),$data);
        return str_replace('"', '""', $data);
    }
protected function clean ( $ data ) { $ data = str_replace ( array ( '”',' ‘ ','’' , '´',' “ ','€ ' ,"\r" , "\n", ) , array ( '"' , " ' " , " ' " , " ' " , '"' , '&euro;' , '' , '' , ) , $ data ) ; return str_replace ( '"' , '""' , $ data ) ; }
clean data replacing typographic commas and escaping doubles commas
 @param string $data
clean data replacing typographic commas and escaping doubles commas @param string $data