How to Use Unicode in OpenWhisk and the Globalization Pipeline Service
In this post I am going to help you overcome some of the issues you might encounter when trying to output Unicode from OpenWhisk actions. In a previous post I showed how to call the Globalization Pipeline service from Node Red and in this post I will show you how to call the Globalization Pipeline service from an OpenWhisk action and properly handle Unicode text that is returned by the service in OpenWhisk. If you are already familiar with how to get the Globalization Pipeline service’s credentials then you can go ahead and grab the service instance id, username, password, and create a reader key for accessing the service. If you don’t know how to do this, then read my earlier post.
To upload the OpenWhisk action from the command line use the wsk action create command.
To invoke the OpenWhisk action from the command line use the wsk action invoke command and substitute the lang id and bundle name with your values.
I hope this post helps you with using Unicode text in OpenWhisk.