• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Encoding of reverse DNS results
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encoding of reverse DNS results


  • Subject: Re: Encoding of reverse DNS results
  • From: Ryan McGann <email@hidden>
  • Date: Wed, 1 May 2002 12:33:50 -0500

On Wednesday, May 1, 2002, at 08:01 AM, Peter Sichel wrote:

>> I'm not quite familiar with the gritty details of this, so pardon the
>> stupidity of this. Does anybody know if there's a "standard" encoding
>> that's used when returning reverse DNS lookup results (eg
>> gethostbyaddr, OTInetAddressToName, etc.) Our returned strings contain
>> escaped characters for certain computer names (such as ryan's G4), and
>> I cna't find an encoding to pass to CFStringCreateWithCString that
>> makes the string look halfway normal. I've tried ASCII and MacRoman,
>> so I'm guessing that it's either one of the Windows Latin variants or
>> there is NO standard.
>
> Try UTF8 encoding, it worked for me.

UTF8 does not work for us. I'm thinking that this is an issue with
either our company's Windows 2000 name resolver or Mac OS X. Either way,
any computer on our network that has anything but standard ASCII in
their computer names are coming back with escaped characters, and I
can't figure out what the encoding is. Anybody know if Windows 2000 is
at fault, or is it X?

Thanks,
Ryan

----------------------------------------------------------------
Ryan McGann
Software Engineer, Macintosh Internet Security
Symantec Corporation
email@hidden
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Re(2): (OT) Outlook Express email setup
  • Next by Date: Re(3): (OT) Outlook Express email setup
  • Previous by thread: Re: Which app owns an open listening socket?
  • Next by thread: OT & Carbon issues
  • Index(es):
    • Date
    • Thread