I hit backspace after I wrote this post the last time and I lost all i wrote...
Test #1 (From Terminal)
Notice that the ä is encoded as %E4.
Create a keyword trigger with a parameter. Let's call this atest.
Create an action with osascript (JS) with the following code
Connect the trigger and action.
Watch the debug console for output.
Notice that the ä is encoded as a%u0308.
I'm using this NodeJS workflow as a base https://github.com/giangvo/alfred-workflow-