• 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
Words of Bug in Leopard (Japanese environment)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Words of Bug in Leopard (Japanese environment)


  • Subject: Words of Bug in Leopard (Japanese environment)
  • From: Takaaki Naganoya <email@hidden>
  • Date: Wed, 6 Aug 2008 13:39:40 +0900

I tryed to get MAC address from en0 in Japanese environment.

<AppleScript>
set aMacAdrStr to (do shell script "ifconfig en0 | grep 'ether'")
set aW to words of aMacAdrStr
</AppleScript>

In Tiger, the result was reasonable.

<result in Tiger (10.4.11 + MacBook Pro 2.0GHz)+ Japanese User Environment>
--> {"ether", "00", "1e", "c2", "01", "45", "bf"}
</result in Tiger>


But.. in Leopard....

<result in Leopard (10.5.4+ MacBook Pro 2.4GHz)+ Japanese User Environment>
--> {"ether", "00", "1e:c2", "01", "45", "bf"}
</result in Leopard>


I could not believe my eyes...

<AppleScript>
words of "1e:c2"
</AppleScript>

This causes unexpected result. In English user environment, the result was normal.

I have same test with some east asian language environment...

Chinese (Simple Chinese): Wrong
Hangul : Wrong


-- Takaaki Naganoya Piyomaru Software http://piyo.piyocast.com email@hidden

PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com
Free AppleScript Library "AS Hole"
http://www.piyocast.com/as/



_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Words of Bug in Leopard (Japanese environment)
      • From: Christopher Nebel <email@hidden>
    • Re: Words of Bug in Leopard (Japanese environment)
      • From: Philip Aker <email@hidden>
  • Prev by Date: NSReceiverEvaluationScriptError: 4 interaction with Safari
  • Next by Date: Re: Words of Bug in Leopard (Japanese environment)
  • Previous by thread: Re: Installer.app can't 'display dialog'
  • Next by thread: Re: Words of Bug in Leopard (Japanese environment)
  • Index(es):
    • Date
    • Thread