Why UTF-8/16 character encodings?

Brad Roberts braddr at puremagic.com
Mon Jun 17 18:28:13 PDT 2013


On 6/17/13 11:58 AM, Sean Kelly wrote:
> On Jun 17, 2013, at 11:47 AM, "H. S. Teoh" <hsteoh at quickfur.ath.cx> wrote:
>>
>> Do linkers actually support 8-bit symbol names? Or do these have to be
>> translated into ASCII somehow?
>
> Good question.  It looks like the linker on OSX does:
>
> 	public	_D3abc1A18さいごの果実MFiZv
> 	public	_D3abc1A4ªåMFiZv
>
> The object file linked just fine.  I haven't tried OPTLINK on Win32 though.
>

Don't symbol names from dmd/win32 get compressed if they're too long, resulting in essentially 
arbitrary random binary data being used as symbol names?  Assuming my memory on that is correct then 
it's already demonstrated that optlink doesn't care what the data is.


More information about the Digitalmars-d mailing list