I spent a while with my friend Google, searching the web for interesting idioms from other countries. I was especially interested on ones that were in a different language, translated directly/literally into English, and then had an explanation of what expression actually means. I copy-n-pasted my findings into an Excel spreadsheet, and here's a little sneak peek at what it looks like:
I'm a tester at heart, and the main thing I wanted to test here was whether SAS could correctly import all these characters from different languages, and also output the characters correctly in the SAS output. I found that the key to success was making sure my SAS session used utf-8 encoding. There are a couple of ways of doing that, and I chose to specify a sasv9.cfg file that contained the "-ENCODING UTF-8" option.
sas.exe worldwide_idioms.sas -config "c:\program files\sashome\x86\sasfoundation\9.4\nls\u8\sasv9.cfg"
Here are some screen captures showing a variety of language characters successfully displayed in my SAS output table, and the mouse-over text for my map:
And finally, here's what you've all been waiting for ... click the map image below, to see the full size interactive version of the idiom map. You can then hover your mouse over the red dots to see the idioms in the mouse-over text, or click the red dots to launch a Google search for more idioms from that country. Enjoy!
Do you have a favorite idiom, or slang expression, from your area? Feel free to share it in a comment!
This blog was reposted from the SAS Learning Post. Go there to view the original.