Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-08 Thread Peter Edberg
> On Mar 8, 2017, at 1:44 PM, David Reed wrote: > > >> On Mar 8, 2017, at 4:35 PM, Peter Edberg wrote: >> >> >>> On Mar 8, 2017, at 12:00 PM, cocoa-dev-requ...@lists.apple.com wrote: >>> >>> Message: 1 >>> Date: Tue, 07 Mar

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-08 Thread Peter Edberg
> On Mar 8, 2017, at 12:00 PM, cocoa-dev-requ...@lists.apple.com wrote: > > Message: 1 > Date: Tue, 07 Mar 2017 15:03:41 -0500 > From: davel...@mac.com > To: Alastair Houghton , David Duncan > > Cc: cocoa-dev list > Subject: Re: Unicode filenames with Apple File System and > UIManag

Subject:

2014-08-07 Thread Peter Edberg
44597.150374101.4d345...@webmail.messagingengine.com> > Content-Type: text/plain > > On Thu, Aug 7, 2014, at 03:28 PM, Peter Edberg wrote: >> Seems like the bug here is trying to save the file as WindowsLatin1. > > I'm not sure how you intended this to be interpreted. If you mean

Re: NSNumberFormatter negative and NSWindowsLatin1

2014-08-07 Thread Peter Edberg
This is intentional. The character is ‘−’ U+2212 MINUS SIGN with UTF-8 representation 0xE2 0x88 0x92. Many locales prefer the proper Unicode minus sign for negative numbers, instead of using U+002D HYPHEN-MINUS. Seems like the bug here is trying to save the file as WindowsLatin1. - Peter E On

Re: NSDateFormatter not working on iOS 5.

2012-02-13 Thread Peter Edberg
On Feb 2, 2012, at 7:56 AM, John Joyce wrote: > > On Feb 2, 2012, at 2:20 AM, Peter Edberg wrote: > >> >> On Jan 31, 2012, at 2:35 PM, cocoa-dev-requ...@lists.apple.com wrote: >>> -- >>>

Re: NSDateFormatter not working on iOS 5.

2012-02-02 Thread Peter Edberg
On Jan 31, 2012, at 2:35 PM, cocoa-dev-requ...@lists.apple.com wrote: > -- > > Message: 1 > Date: Tue, 31 Jan 2012 14:10:13 -0600 > From: Heath Borders > To: cocoa-dev > Subject: Re: NSDateFormatter not working on iOS 5. > Mess

Re: Printing an NSDate

2012-01-19 Thread Peter Edberg
On Jan 19, 2012, at 2:39 AM, cocoa-dev-requ...@lists.apple.com wrote: > Date: Thu, 19 Jan 2012 13:41:54 +0700 > From: "Gerriet M. Denkmann" > Subject: Printing an NSDate > To: cocoa-dev@lists.apple.com > Message-ID: > Content-Type: text/plain; charset=us-ascii > > I want to print a date on iOS

Re: NSDateFormatter not working on iOS 5.

2011-11-20 Thread Peter Edberg
On Nov 17, 2011, at 10:14 AM, Matt Neuburg wrote: > On Wed, 16 Nov 2011 14:43:55 -0800, Peter Edberg said: >> ... >> >> The issue is this: With the *short* timezone formats as specified by z >> (=zzz) or v (=vvv), there can be a lot of ambiguity. For example, "

Re: NSDateFormatter not working on iOS 5.

2011-11-16 Thread Peter Edberg
", "en_US", or "en_GB", then any of the following will be parsed, because they are unambiguous: "Pacific Daylight Time" "Central European Summer Time" "Central European Time" Hope this helps. - Peter Edberg > Date: Wed, 16 Nov 2011 16:29:

Re: Is NSDateFormatter thread-safe?

2011-10-31 Thread Peter Edberg
On Oct 31, 2011, at 5:30 PM, cocoa-dev-requ...@lists.apple.com wrote: > Date: Mon, 31 Oct 2011 17:27:10 -0700 > From: Jens Alfke > Subject: Is NSDateFormatter thread-safe? > > I have some code that uses a shared NSDateFormatter instance to convert dates > to/from ISO-8601 format. This code is n

Re: How to count composed characters in NSString?

2008-09-29 Thread Peter Edberg
On Sep 29, 2008, at 9:27 PM, David Niemeijer wrote: Hi Douglas and Peter, On Sep 29, 2008, at 6:39 PM, Douglas Davidson wrote: On Sep 28, 2008, at 11:17 AM, David Niemeijer wrote: I need to be able to display the number of characters to the user in a way that makes sense to them. If they s

Re: How to count composed characters in NSString?

2008-09-28 Thread Peter Edberg
On Sep 28, 2008, at 3:05 PM, Peter Edberg wrote: David, Check out CFStringGetRangeOfComposedCharactersAtIndex. It finds the kinds of text boundaries that I think you are interested in. You would just need to iterate over the string calling this for each iteration to find the next

Re: How to count composed characters in NSString?

2008-09-28 Thread Peter Edberg
uot;long" unicode characters are treated as a single character. David, Check out CFStringGetRangeOfComposedCharactersAtIndex. It finds the kinds of text boundaries that I think you are interested in. You would just need to iterate over the string calling this for each itera

Re: Localization and plural rules revisited

2008-05-20 Thread Peter Edberg
On May 20, 2008, at 12:48 PM, Ricky Sharp wrote: On May 20, 2008, at 12:08 PM, Peter Edberg wrote: CLDR (Common Locale Data Repository) has some draft data on plural forms for various languages. See <http://unicode.org/cldr/data/charts/supplemental/language_plural_rules.html &g

Re: Localization and plural rules revisited

2008-05-20 Thread Peter Edberg
r background info. -Peter Edberg On May 20, 2008, at 1:48 AM, [EMAIL PROTECTED] wrote: -- Message: 1 Date: Mon, 19 May 2008 22:02:08 -0500 From: Ricky Sharp <[EMAIL PROTECTED]> Subject: Localization and plural rules revi

Re: Map key codes to characters

2008-02-23 Thread Peter Edberg
d to produce. Peter Edberg On Feb 21, 2008, at 1:50 PM, [EMAIL PROTECTED] wrote: -- Message: 14 Date: Thu, 21 Feb 2008 22:48:15 +0100 From: [EMAIL PROTECTED] (Christian Schmitz) Subject: Map key codes to characters is there a modern API which I can use to map betwe