Re: portable way to get highest bit set?

Blue-Maned_Hawk <[email protected]> Thu, 12 Oct 2023 13:42:03 -0000 (UTC)
Newsgroups comp.lang.c,alt.comp.lang.c
Organization A noiseless patient Spider
Message-ID <[email protected]>
Keith Thompson wrote:

> A solution that depends on a header that's introduced in C23, a standard
> that hasn't been published yet, is hardly portable.

Well, it will be in 2024.

> BTW, here's what your signature looks like in my newsreader (Gnus):
> 
> Blue-Maned_HawkÃ\203\203\203\203Ã\203\203\202Ã\203\202Ã\202¢
\224\202shortens
> to HawkÃ\203\203\203\203Ã\203\203\202Ã\203\202Ã\202¢\224\202/
> 
blu.mÃ\203\203\203\203\211\233in.dÃ\203\203\203\203\212Ã\203\203\203\202Ã\203\203\202Ã\203\202Ã\202°ak/
> Ã\203\203\203\203Ã\203\203\202Ã\203\202Ã\202¢\224\202he/him/his/
himself/Mr.
> bluemanedhawk.github.io Minor vehicular events!
> 
> And in Thunderbird:
> 
> Blue-Maned_HawkÃÃÃâshortens to HawkÃÃÃâ/
> blu.mÃin.dÃÃÃÃðak/
> ÃÃÃâhe/him/his/himself/Mr.
> bluemanedhawk.github.io Minor vehicular events!

Blame Pan for corrupting it.  That was meant to have its fields separated 
by the │ character, including a pronunciation explanation field that has 
IPA characters in it.



-- 
Blue-Maned_Hawk│shortens to 
Hawk│/
blu.mɛin.dʰak/
│he/him/his/himself/Mr. 
bluemanedhawk.github.io
In eggshells and mayo!