Skip to content
Little GolemMake your next move.

Klaus Hußmanns utf8 code?

Public forum discussion.

Twixt

#1 · David J Bush

14 May 2012

Okay. So, can anyone tell me what is the utf8 code, either in hexadecimal or decimal, of that letter that looks like a capital B in Klaus Hußmanns' name? I got as far as the code charts page but I don't see the word "German." Oh nooo. That would be too easy. Hey I know it should be part of the European section. I figured that much out. I'm just an ignorant American okay? Could some erudite sophisticated European help me out here.

I have heard that ss is an acceptable substitute, but this is not good enough for me.

#2 · JeanHebert

14 May 2012

It is in Latin-1 Supplement section. It has Unicode U+00DF and UTF-8 0xC3 0x9F.

#5 · Andreas Bleck

14 May 2012

Ooops, forget my above post. That number refers to a letter that doesn't exist. There is no capital ß in the German language, it was invented as a decorative piece by somebody who felt uncomfortable to spell out SS when writing something all in capitals (because of the meaning of SS since the 1930s). So much for political correctness above factual correctness...

#6 · David J Bush

14 May 2012

Okay, UTF8 0xC39F = 50079 decimal, I believe that's what I need, thanks very much! Now if I could find a True Type font which can handle UTF8 I would be all set. This is all for an animated video I want to make. It will take me an estimated two months to generate all the frames with POVray. I don't need to install the font on my OS. I just want POVray to create a text object with Klaus' name at the start of the game. Here's what the first frame currently looks like, in low resolution:

!http://cf.geekdo-images.com/images/pic1311287.png!
Unfortunately, the font I used here is apparently ASCII. So I need to fix this issue so I can start rendering.

#7 · jds

14 May 2012

David, I'm not an expert at this but UTF8 0xC3 0x9F means the byte value 195 followed by the byte value 159. When you mention "50079 decimal" the question comes into play as to how you are entering it, endianness, etc.

You might try just entering chr(223), which is eszett in the Latin-1 (ISO-8859-1) 8-bit ascii extension that predated unicode. I imagine most TTFs will handle ISO-8859-1 where they don't handle unicode.

#8 · jds

14 May 2012

Maybe this is the right POVRay syntax: concat("Klaus Hu",chr(223),"manns")

?

#9 · David J Bush

14 May 2012

chr(223) produced a backwards capital R, which is actually hopeful. It suggests my text object font might have the eszett symbol in it somewhere after all.

I tried 0x9FC3 instead, which is 40899. Again a rectangle is produced.

#10 · David J Bush

14 May 2012

Heh that font was developed in St. Petersburg, so they added Cyrillic instead of Latin. I found another font that does the job. Thanks everyone for your help!

#11 · Christian K

15 May 2012

What are you working on there? looks interesting.

#12 · David J Bush

15 May 2012

Heh hopefully you will see on YouTube around mid July. I've got a dual core 1.2 GHz machine working on generating frames around the clock. POVray does not itself have multi threading, so I have two copies of it working on the (approximately) first half and second half. About six seconds have been completed so far, out of 350. The pegs and links float out of the box and into their proper places on the board. Plastic Boy's "Twixt" will be in the background. In the meantime I plan to make some instructional videos with more 2D stuff, which I can complete much more quickly.