Have a encoding problem for java cloud function in GCP, non ascii character can not be displayed, e.g.
Hi @ZinY,
Welcome to Google Cloud Community!
The issue is that the Java cloud function is not displaying non-ASCII characters properly. The solution is to set the output encoding of the JVM explicitly to UTF-8 using the System.setProperty() method, or set the encoding explicitly when creating the logger. It's also recommended to check if the PubSubMessage object is correctly encoded.
Thanks