How to code an o with an umlaut
Copy link to clipboard
Copied
Hello.
Im adding a mailto command to a button and want to add some subject text as such:
mailto:name@emailaddress.com?subject=A%20subject%20line
All works fine changing spaces to %20 where spaces should be.
The problem im having is that my subject line has a small letter o with an umlaut, like this รถ.
I can't find the hex code (or whatever it is) that i need in order to get the subject line to read properly.
Can anyone help?
Copy link to clipboard
Copied
This is called "URL escaped" - the %20 means a space. Unfortunately, it doesn't tell us what encoding to use for o umlaut. You can try UTF-8, which is %C3%B6. Or you can try ISO-8859-1, which is %F6. One of these may work, but it may vary according to the mail app and PDF app used.
Copy link to clipboard
Copied
UTF-8 works, thankyou.
The German word 'mรถchte' when coded as 'm%C3%B6chte' comes out correct in Acrobat Pro DC and Outlook 16.65 on a Mac.
Thankyou
Copy link to clipboard
Copied
Try this:
\u00f6 for รถ
\u00d6 for ร
Copy link to clipboard
Copied
That just comes out as it was typed
Instead of the German word 'mรถchte' i get 'm\u00f6chte'
Thankyou though. Teh solution above worked. UTF-8 coding.

