## Need a test font that work with 'weird' characters like ä

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
gcmartijn
Citizen
Posts: 50
Joined: Sat Dec 28, 2019 6:35 pm

### Need a test font that work with 'weird' characters like ä

Hi,

Does someone have a font that includes characters like: ä

I want to test:

Code: Select all

 love.graphics.print("testätest")
At the moment the output is: testtest

All fonts that I download don't support it, but that's weird because I do see it inside the font example.
For example this font, do show the special character:

https://fonts.google.com/specimen/Robot ... .open=true

Thanks!
pgimeno
Party member
Posts: 2575
Joined: Sun Oct 18, 2015 2:58 pm

### Re: Need a test font that work with 'weird' characters like ä

Not sure what problem you're having. Even with the default font, that character works for me. And the one in Roboto Regular as well.
grump
Party member
Posts: 711
Joined: Sat Jul 22, 2017 7:43 pm

### Re: Need a test font that work with 'weird' characters like ä

Lua file was probably saved with wrong encoding. Make sure it's utf-8.
gcmartijn
Citizen
Posts: 50
Joined: Sat Dec 28, 2019 6:35 pm

### Re: Need a test font that work with 'weird' characters like ä

Oke, good to know thanks.
Then I know I have to check my code and create a small test script.

### Who is online

Users browsing this forum: Google [Bot], kicknbritt and 9 guests