thomashempel / AlfredGoogleTranslateWorkflow

A workflow for Alfred that implements translation from any language to any other language that is supported by google
MIT License
401 stars 41 forks source link

Special characters don't work #3

Closed thomashempel closed 10 years ago

thomashempel commented 11 years ago

Right now, special characters like ü, ä etc. don't work as input.

thomashempel commented 11 years ago

From the Alfred forum: (http://www.alfredforum.com/topic/1851-yet-another-google-translate-workflow-with-inline-results/#entry10020)

Add this to the Google request URL: &ie=UTF-8&oe=UTF-8

Decode the result: echo utf8_decode($result);