This seems to be consistent with my Web browser and editor. Are the
symbols eq? or equal?

On Wed, Dec 27, 2017 at 3:54 PM, 'John Clements' via Racket Users
<[email protected]> wrote:
> I was working with files containing a Byte Order Mark today, and in the 
> process of writing a test case, I discovered that
>
> (string->symbol “\uFEFF”)
>
> produces a symbol whose printed representation is
>
> ‘hello
>
> … which seems unfortunate; I guess I would have expected something like
>
> ‘|\uFEFFhello|
>
> (… although I see now that this kind of escaping is not currently enabled 
> inside vertical bars).
>
> This leads to situations where two symbols with the same printed 
> representation may not be equal?, which seems unfortunate.
>
> Am I overlooking a good reason why this is the desired behavior?
>
> John
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.



-- 
-=[     Jay McCarthy               http://jeapostrophe.github.io    ]=-
-=[ Associate Professor        PLT @ CS @ UMass Lowell     ]=-
-=[ Moses 1:33: And worlds without number have I created; ]=-

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to