Search the Community
Showing results for tags 'unicode characters'.
Found 1 result
My workflow script ends with printing output. That output goes to Alfred's "copy to clipboard". 1. How does Alfred interpret the output it receives? Do I need to escape anything in my output? Perl code: print 'this is a string with special characters in it Đ⌂' The above is a simplified model. What is REALLY happening is the Perl code copies the special characters from the clipboard in the first place, then prints them out. When I look at what the Perl code prints out in the terminal, I can see the special characters just fine. So it seems that it is ALFRED who is unable to accept the special characters or put them into the pasteboard correctly. It replaces them with '?' question marks. 2. I am open to creative solutions. I never intended to copy my output to the clipboard in the first place. I just needed to use the "paste into frontmost application" option. Using an apple script to execute "cmd-V" is an option, but I don't think it will work in all applications. I guess my second, slightly related question is "How does Alfred paste into the frontmost application reliably?" Maybe I can mimic that behavior and bypass Alfred.