Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,16 @@
exceptions or null pointer crashes in code which expects the
-UTF8String method to work for all strings.
Remove a few old testcases and add a load of new ones.


2026-04-22 Hendrik Huebner <hendrik.huebner@algoriddim.com>

* Headers/Foundation/NSString.h:
Declare -stringByFoldingWithOptions:locale:.
* Source/NSString.m:
Implement -stringByFoldingWithOptions:locale: using ICU transliteration.
* Tests/base/NSString/locale.m:
Add folding tests for case, diacritic, width and combined behavior.

2026-04-20 Wolfgang Lux <wolfgang.lux@gmail.com>

* Headers/Foundation/NSFileManager.h:
Expand Down
8 changes: 8 additions & 0 deletions Headers/Foundation/NSString.h
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,14 @@ GS_EXPORT_CLASS
- (NSString *) precomposedStringWithCanonicalMapping;
#endif

#if OS_API_VERSION(MAC_OS_X_VERSION_10_5,GS_API_LATEST)
/** Returns a copy of the receiver suitable for comparison with the supplied
* options and locale.
*/
- (NSString *) stringByFoldingWithOptions: (NSStringCompareOptions)options
locale: (NSLocale *)locale;
#endif

// Converting String Contents into a Property List
- (id) propertyList;
- (NSDictionary*) propertyListFromStringsFileFormat;
Expand Down
Loading
Loading