We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
윈도우와 맥이 각기 다른 유니코드 인코딩방식을 사용하는데 (둘 다 표준) 윈도우는 NFC, 맥은 NFD를 사용함.
https://www.php.net/manual/en/class.normalizer.php
XeStorage 클래스에서 체크해서 다음 버전에 반영할 것.
The text was updated successfully, but these errors were encountered:
저도 Laravel로 개발중인 앱에서 같은 문제를 겪었는데 아래와 같은 방식의 간단한 메서드만 만들어 사용해도 되더군요.
/** * NFC 인코딩 방식으로 파일명 반환 * * @param \Illuminate\Http\UploadedFile $file * @return string|null */ protected function getNormalizedOriginalName(\Illuminate\Http\UploadedFile $file) { $filename = $file->getClientOriginalName(); if (!\Normalizer::isNormalized($filename)) { $filename = \Normalizer::normalize($filename); } return $filename; }
Sorry, something went wrong.
네. 감사합니다~ 일부 호스팅서버에서는 해당 함수가 내장되어있지않아서 intl extension도 확인해야 하더라구요. 함께 검토해서 다음 코어버젼에 반영시키겠습니다. 감사합니다~
#966 업로드 파일명 normalize
3447787
jhyeon1010
kimyu711
No branches or pull requests
윈도우와 맥이 각기 다른 유니코드 인코딩방식을 사용하는데 (둘 다 표준)
윈도우는 NFC, 맥은 NFD를 사용함.
https://www.php.net/manual/en/class.normalizer.php
XeStorage 클래스에서 체크해서 다음 버전에 반영할 것.
The text was updated successfully, but these errors were encountered: