[glotpress-updates] [GlotPress] #452: json_encode() fails on non-utf8 strings

GlotPress noreply at wordpress.org
Fri Jul 17 14:28:45 UTC 2015


#452: json_encode() fails on non-utf8 strings
----------------------+--------------------------
  Reporter:  ocean90  |      Owner:  markoheijnen
      Type:  defect   |     Status:  closed
  Priority:  major    |  Milestone:  1.0
 Component:  General  |    Version:
Resolution:  fixed    |   Keywords:  has-patch
----------------------+--------------------------
Changes (by markoheijnen):

 * owner:   => markoheijnen
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"1084"]:
 {{{
 #!CommitTicketReference repository="" revision="1084"
 Add gp_json_encode(), a wrapper for json_encode() that ensures everything
 is converted to UTF-8.

 Change all core calls from json_encode() to gp_json_encode().

 Props ocean90
 Fixes #452
 }}}

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/452#comment:5>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list