Hi, I use Papercss as Theme and Hugo - latest edition, hugo is running on my shared hosting server.
My problem: I can’t get Umlauts (Ä, Ü, Ö,ß) to work with that combination. Is this due to the font that papercss is using? Or is there an error within Hugo that prevents the usage of Umlauts?
I did create / edit the post with StackIt StackEdit and the Umlauts work. However, after I run hugo, the “public” HTML is not using the Umlauts
StackIt:
das Mehl und das Salz in eine Rührschüssel geben und mit dem Knethaken in der Küchenmaschine verarbeiten. habe dabei die Erfahrung gemacht, dass es schon noch 2-3 Esslöffel
HUGO Public HMTL
as Mehl und das Salz in eine R�hrsch�ssel geben und mit dem Knethaken in der K�chenmaschine verarbeiten. Ich habe dabei die Erfahrung gemacht, dass es schon noch 2-3 Essl�ffel
I suspect that the markdown file in your content directory is not properly encoded. This would be easier to troubleshoot if you posted a link to the public repository for your site.
Das ursprüngliche Rezept habe ich im Backbuch der Stiftung Warentest gefunden. Es ist inzwischen unser Standard-Apfelkuchen, weil es eben so schnell und einfach geht, gleichzeitig ohne Zucker auskommt und sehr lecker ist!
Warm aus dem Ofen schmeckt die Tarte am besten!
Zutaten
200g Mehl
125g Butter (weich)
1 Eigelb
1/4 tl Salz
2 EL Wasser
3-4 Äpfel (je nach Größe)
Zubereitung
Einfach die weiche Butter, das Eigelb, das Mehl und das Salz in eine Rührschüssel geben und mit dem Knethaken in der Küchenmaschine verarbeiten.
(…) (I cut the rest)
Help with source control management, archiving, file sharing, etc. is outside of the scope of this support community. You’ll need to learn how to do that on your own. Maybe you can start with Dropbox…
Or, do some research on file encoding, and try to understand how your files are encoded.
This is irrelevant if the file itself is not encoded properly.
Reading one of your previous posts, I believe your workflow is… unusual. Please describe, step by step, how you create the markdown file that is processed by Hugo. For example, do you copy/paste? Do you copy/paste in the terminal? Do you copy/paste over SSH?
This is a file I created by using the above mentioned way (I only did cut out text (…) to make it shorter):
---
title: "Apfeltarte"
date: 2020-05-31T20:53:58-06:00
tags: [apfel,tarte,kuchen,backen]
show_summary: true
---
## Apfeltarte
*Das ursprüngliche Rezept habe ich im Backbuch
der Stiftung Warentest gefunden. Es ist inzwischen unser (...)*
**Warm aus dem Ofen schmeckt die Tarte am besten!**
<div class="alert alert-secondary">
### Zutaten
* 200g Mehl
* 125g Butter (weich)
* 1 Eigelb
* 1/4 tl Salz
* 2 EL Wasser
* 3-4 Äpfel (je nach Größe)
</div>
### Zubereitung
Einfach die weiche Butter, das Eigelb,
das Mehl und das Salz in eine Rührschüssel (...).
Exactly. The file is not encoded properly. You should see:
text/plain; charset=utf-8
I suspect the problem in your convoluted workflow is caused by Notepad. Try an editor such as Notepad++, but make sure you change the default encoding to UTF-8 in the preferences.
I refer you back to my response to your original post:
Actually, I open it with Editor. Never had problems before, using it for HMTL, CSS or other stuff. And if I open the apfel2.md and copy it into Dillinger or Stacked.it I don’t see “ISO…:” either?