0

We receive file content as empty in the server side when we upload file via multipart/form-data. The file name is tönt.png This happens only in Mac(any browser) not in other machines. The same file works in similar applications. The only difference is that content language header is "sv" in the former and 'en-US' in the later.

We did lot of googling, but no luck. We wonder why its not working particular OS

UPDATE: Found the cause. It seems Mac treats ö differently than windows. We see below exception in DB

Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='

Selvakumar Ponnusamy
  • 5,363
  • 7
  • 40
  • 78

1 Answers1

0

It seems Mac treats ö differently than windows. We see below error in DB logs

Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='

Selvakumar Ponnusamy
  • 5,363
  • 7
  • 40
  • 78