Skip to content
New issue

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

Windows 版 PHP7 の環境で CSV アップロードに失敗する? #222

Closed
nobuhiko opened this issue Aug 16, 2018 · 2 comments
Closed
Milestone

Comments

@nobuhiko
Copy link
Contributor

2系も関係する可能性あり?
EC-CUBE/ec-cube#1781

@nobuhiko
Copy link
Contributor Author

#156 の2件が可能性あります。

  • カテゴリーのCSV登録ができない。
  • ダウンロードした商品を変更せずにそのままCSV登録を行うとエラーが発生する。

@so-amuamu so-amuamu added this to the 2.17.0 milestone Aug 16, 2018
@nanasess
Copy link
Contributor

これは該当しそうですね。
https://github.com/EC-CUBE/eccube-2_13/blob/9785237d7f211380142191fd599829d4b57acebc/data/class/SC_Initial.php#L143-L149
おそらく、日本語版 Windows の場合、ここで CP932(SJIS-win) のロケールが設定されるので、 PHP7以降では CP932 のファイルエンコーディングを使用する必要があると思います。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants