<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Copyright symbol?]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=808&amp;type=atom" />
	<updated>2021-04-12T11:21:30Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=808</id>
		<entry>
			<title type="html"><![CDATA[Re: Copyright symbol?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3720#p3720" />
			<content type="html"><![CDATA[<p>Frank,</p><p>In version 3.18, we switched to true UTF-8 output for <em>outtext</em> and <em>outtextxy</em> calls.&nbsp; Your original code was using the extended ANSI character set, but you&#039;ll need to start using UTF-8 codes instead.&nbsp; While this is problematic for things like the copyright and trademark symbols, it opens up a world of other characters.</p><p>For the copyright symbol, you would need to use a two-character combination to create the symbol.&nbsp; If you consult a <a href="https://www.fileformat.info/info/unicode/char/a9/index.htm">Unicode reference</a>, you&#039;ll see that you need to use the character code <em>0xc2 0xa9</em> (or <em>194 169</em>).&nbsp; Your code will work if you change the call to:</p><div class="codebox"><pre><code>cTxt = &quot;BestCurvFit&quot;//char(226)//char(132)//char(162)//&quot;Copyright&quot;//char(194)//char(169)//&quot;2021 myname&quot;</code></pre></div><p>Note that the <a href="https://www.fileformat.info/info/unicode/char/2122/index.htm">trademark symbol</a> requires three characters.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2021-04-12T11:21:30Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3720#p3720</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Copyright symbol?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3719#p3719" />
			<content type="html"><![CDATA[<p>Jeff,</p><p>Actually the issue is not with the message box but with Appgraphics Call outtextxy(,cText) routine.</p><p>I tried two examples and neither of them was able to display the correct symbols.</p><p>(1)<br />cTxt = &quot;BestCurvFit™ Copyright © 2021 myname&quot;</p><p>(2)<br />cTxt = &quot;BestCurvFit&quot;//Achar(153)//&quot;Copyright&quot;//Achar(169)//&quot;2021 myname&quot;</p><p>call outtextxy( (w, h, TRIM(cTxt) )</p><p>Since the problem is Appgraphics specific, there may not be an easy fix.&nbsp; I may have to just resort to (TM) and (C) in place of the symbols.</p><p>Frank</p>]]></content>
			<author>
				<name><![CDATA[drfrank]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=223</uri>
			</author>
			<updated>2021-03-27T18:48:06Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3719#p3719</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Copyright symbol?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3718#p3718" />
			<content type="html"><![CDATA[<p>Jeff,</p><p>Using SF v2.0, I was able to insert both Copyright and Trademark symbols in a message box (e.g., &quot;BestCurvFit™ Copyright © 2021 myname).&nbsp; But using SF v3, these text symbols are not recognized.&nbsp; How can symbols such as © and ™ be added using SF v3.18?&nbsp; &nbsp;Or is it no longer possible?</p><p>Frank</p>]]></content>
			<author>
				<name><![CDATA[drfrank]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=223</uri>
			</author>
			<updated>2021-03-27T18:08:18Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3718#p3718</id>
		</entry>
</feed>
