[wp-meta] [Making WordPress.org] #117: Credits API character set

Making WordPress.org noreply at wordpress.org
Thu Sep 10 17:17:11 UTC 2015


#117: Credits API  character set
---------------------+-------------------------------
  Reporter:  knutsp  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  normal  |  Component:  api.wordpress.org
Resolution:          |   Keywords:  needs-patch
---------------------+-------------------------------

Comment (by knutsp):

 Replying to [comment:17 netweb]:

 > Another vote for the "dump the encode and insta-fix" here as the above
 never encodes them in the first place.

 I see. The data are actually stored as UTF8 despite the table charset. We
 all know MySQL doesn't care when charset is Latin1, it takes anything,
 like binary. So it's wrong to assume actual Latin1 encoding just because
 data is stored in such table/column.

 Remove the encoding function at get an instant fix at the same time.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/117#comment:18>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list