Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / How to display copyright sumbol (©) in app as text.

Author
Message
theUsual
4
Years of Service
User Offline
Joined: 13th Jul 2015
Location: Norway
Posted: 15th Jul 2015 15:38
According to the web, ASCII character 184 is supposed to be ©. When doing:

..it gives me a comma-like symbol instead.

This approach displays the © symbol, but theres an  in front of it.


Any ideas?
Maghnus
4
Years of Service
User Offline
Joined: 12th Jul 2015
Location:
Posted: 15th Jul 2015 21:27
While I don't know exactly what's going on there (I had the same results when trying your way), I went into Character Map and got the hexadecimal for the character. This seems to work for me:

Print( Chr( 0xA9 ) )
David Gervais
Retired Moderator
14
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 16th Jul 2015 00:36 Edited at: 16th Jul 2015 00:42
I just looked at the extended bitmap fonts I did and the © is ASCII number 0169 so try chr(169)

in fact to type this © I pressed and held the alt key then typed 0169 on the numpad.

I think you might not have a proper ascii chart.

I hope this helps.

Oh and feel free to grab the free extended bitmap font in the showcase thread.

Cheers!

EDIT: I just booted up AppGameKit and tried..

Print("Special Characters:"+chr(169))

and it gave me the copyright symbol.

Note: this was with the default AppGameKit font, not one of mine.


theUsual
4
Years of Service
User Offline
Joined: 13th Jul 2015
Location: Norway
Posted: 16th Jul 2015 02:04
Thanks! chr(169) did the job!

Login to post a reply

Server time is: 2019-10-17 13:29:43
Your offset time is: 2019-10-17 13:29:43