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()?

zygimantus
  • 3,491
  • 3
  • 41
  • 52

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
FiveO
  • 4,475
  • 3
  • 43
  • 80