How to code an o with an umlaut

Explorer ,
Sep 21, 2022 Sep 21, 2022

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?

TOPICS
How to , PDF forms

Views

35

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 21, 2022 Sep 21, 2022

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. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 21, 2022 Sep 21, 2022

Copy link to clipboard

Copied

LATEST

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

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 21, 2022 Sep 21, 2022

Copy link to clipboard

Copied

Try this:

\u00f6 for ö

\u00d6 for Ö

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 21, 2022 Sep 21, 2022

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.

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines