Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[CONNECT C++] Programatically build text string containing the "plus/minus" symbol

$
0
0

I am attempting to build a text string in my app that includes the Century Gothic glyph for the "plus/minus" symbol. I can see that it has escape code \177 and Unicode name U+00B1. When I attempt to construct my string, I try something like:

string.assign(L"\xB1");

 

and I get the fraction "35/64" displayed. How do you assign a proper wchar_t for the "plus/minus" symbol? I've tried things like L"\U000100B1" but that doesn't work either (It doesn't return a fraction though).

 

Bruce


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>