Default Encodings

47 views
Skip to first unread message

Joshua Fox

unread,
Jul 24, 2018, 2:56:54 AM7/24/18
to google-a...@googlegroups.com, App Engine Flexible
What is the meaning for these different default encodings (as seen in System.getProperties())
  • Flex Env Java 8, ANSI_X3.4-1968
  • Standard Env Java 8, UTF-8
  • Standard Env Java 7, ANSI_X3.4-1968

This can be dealt with, but it is a complication.

I am guessing that Standard Env Java 7's  ANSI_X3.4-1968 was originally for compatibility with Python, which is deeper in GAE's roots. And presumably in Standard Env Java 8 ,  the default was changed to UTF-8 because that is the general standard. Yet Flex Env (Java 8) uses  ANSI_X3.4-1968. What is the story here?
 

Kenworth (Google Cloud Platform)

unread,
Jul 24, 2018, 1:18:47 PM7/24/18
to google-a...@googlegroups.com

It makes sense for Flex Env (Java8) to upgrade to UTF-8. But as GAE Flex and Standard are two separate products, they are not expected to have parallel upgrades and/or timing of upgrades. For more information on how to set it please visit this page:


https://cloud.google.com/appengine/docs/standard/java/config/appref


Reply all
Reply to author
Forward
0 new messages