Encoding problems...

Robert Fraser fraserofthenight at gmail.com
Thu May 28 12:07:06 PDT 2009


grauzone wrote:
> Robert Fraser wrote:
>> Jarrett Billingsley wrote:
>>> On Wed, May 27, 2009 at 8:55 PM, Robert Fraser
>>> <fraserofthenight at gmail.com> wrote:
>>>> Hi all,
>>>>
>>>> Quick question: I want to use some unicode identifiers, but I get
>>>> "unsupported char 0xe2", both with using and not using a BOM. The characters
>>>> in question are the superset/subset-equals operators: ⊇ and ⊆... Perhaps
>>>> these are just unsupported by DMD (in which case, I'll file a bug)?
>>>>
>>>> Thanks,
>>>> Robert
>>> If they're not classified as "universal alpha" I don't think you can
>>> use them in identifiers.
> 
> How the hell did your news client switch from UTF-8 to
> Japanese-something? (charset=UTF-8 => charset=ISO-2022-JP)
> 
>> Lame. K; thanks.
> 
> Don't worry, people working with your code will be thankful!

Hmm... I'd say x.⊆(y) is preferable x.isSubsetOf(y), but it's not a huge
deal.


More information about the Digitalmars-d-learn mailing list