spring-cloud-dataflow icon indicating copy to clipboard operation
spring-cloud-dataflow copied to clipboard

Consider providing top-level encoding property

Open onobc opened this issue 3 years ago • 0 comments

We recently encountered issue where encoding was not set on container which Javascript scripts processor does not handle well. See https://github.com/spring-cloud/stream-applications/issues/312.

We do not set the locale on the docker image.

I believe you can also set the required properties once (rather than on every deploy) via the environmentVariables in your k8s config. Something like:

environmentVariables: 'LANG=en_US.UTF-8,LC_ALL=en_US.UTF-8'

In the meantime, I will open an improvement issue in Spring Cloud Dataflow to document our findings w/ workaround and also look into providing a property in SCDF to control this.

Originally posted by @onobc in https://github.com/spring-cloud/stream-applications/issues/312#issuecomment-1197249234

Consider adding this top-level property to SCDF to control encoding for all deployed apps.

onobc avatar Aug 09 '22 18:08 onobc