Trademark, Copyright and Registered sign in OS X and Linux

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SirWobbyTheFirst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 246
Joined: Tue Jun 30, 2009 11:15 pm

Trademark, Copyright and Registered sign in OS X and Linux

Post by SirWobbyTheFirst » Sat Aug 06, 2011 10:57 pm

Hi guys, as part of my application I tend to append the Product Name property to the title bar of each window and then the display name of a window so for example if I'm creating a window designed to select a type of file. It would be %ProductName% - Select File Type, with %ProductName% being the applications name such as Revolution Office or something like that, the problem is though, when I type out a product name I tend to add the trademark or registered sign to it and when doing an About Dialog the copyright symbol as well as trademark and registered symbols and on OS X and Linux they don't seem to show up properly.

In Windows, I can add these symbols by using Alt+0169 for Copyright, Alt+0174 for Registered and Alt+0153 for Trademark and when the stack goes to render these out on OS X and Ubuntu, the symbols always show up as squares or some other strange character and so my question is, does anyone know of a way to render those symbols in Windows, Mac and Linux. If there is no method, I will resort to using (TM) and so on and so forth and of course, any help is much appreciated, also it feels good to finally visit the forums again after like 6 months.

Thanks, Michael.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Trademark, Copyright and Registered sign in OS X and Linux

Post by Mark » Sun Aug 07, 2011 1:17 am

Hi,

Use the numToChar function with different ASCII codes for different platforms.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply