src/Lfm.php
public function translateFromUtf8($input)
    {
        if ($this->isRunningOnWindows()) {
            $input = iconv('UTF-8', mb_detect_encoding($input), $input);
        }

        return $input;
    }
public function translateFromUtf8($input)
    {
        if ($this->isRunningOnWindows()) {
            $input = iconv('UTF-8', mb_detect_encoding($input), $input);
        }

        return $input;
    }
public function translateFromUtf8 ( $ input ) { if ( $ this -> isRunningOnWindows ( ) ) { $ input = iconv ( 'UTF-8' , mb_detect_encoding ( $ input ) , $ input ) ; } return $ input ; }
Translate file name to make it compatible on Windows.

@param  string  $input  Any string.
@return string
Translate file name to make it compatible on Windows .