0

I am trying to decode a file using base64Decode() function in XPath in WSO2 ESB but I am failling to do that.

What is the default charset for base64Decode()?

Community
  • 1
  • 1
zygimantus
  • 3,649
  • 4
  • 39
  • 54

1 Answers1

0

The default charset (or encoding) depends on the default encoding of the JVM, which again depends on the OS.

  • Windows has the default encoding ANSI (cp1252)
  • Linux usually uses UTF-8.

So you may set the charset with a JVM parameter yourself if you want to be sure.

Community
  • 1
  • 1
Philipp
  • 4,645
  • 3
  • 47
  • 80