Skip to content

Commit c92ddbe

Browse files
authored
Merge pull request #36 from Codeuctivity/stesee-patch-1
Update rules in README
2 parents 7f5854f + e244a2c commit c92ddbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Sanitizes file and directory names to ensure compatibility with Windows (NTFS &
44

55
[![.NET build and test](https://github.com/Codeuctivity/SanitizeFilename/actions/workflows/dotnet.yml/badge.svg)](https://github.com/Codeuctivity/SanitizeFilename/actions/workflows/dotnet.yml) [![NuGet](https://img.shields.io/nuget/v/Codeuctivity.SanitizeFilename.svg)](https://www.nuget.org/packages/Codeuctivity.SanitizeFilename/) [![Donate](https://img.shields.io/static/v1?label=Paypal&message=Donate&color=informational)](https://www.paypal.com/donate?hosted_button_id=7M7UFMMRTS7UE)
66

7-
Implements rules documented by [Microsoft](https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions) + file name length truncation to 255 bytes, which is common on [many modern](https://en.wikipedia.org/wiki/Comparison_of_file_systems) file systems. Runs on any .NET platform.
7+
Implements rules documented by [Microsoft](https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions) + file name length truncation to 255 bytes, which is common on [many modern](https://en.wikipedia.org/wiki/Comparison_of_file_systems) file systems + some unicode edge cases. Runs on any .NET platform.
88

99
## Example
1010

@@ -37,7 +37,7 @@ Restrictions of Windows, Linux and macOS are all combined to an replacement patt
3737
| Max length | Linux, Windows, macOS | | 255 chars |
3838
| Unpaired Unicode surrogates | macOS, Linux | Windows | U+D800 - U+DFFF |
3939
| NotAssigned to Unicode | macOS | Linux, Windows | U+67803, ... |
40-
| "New" Unicode (today 17+) | macOS | Linux, Windows | 🫩 (U+1FAE9), ... |
40+
| "New" Unicode (today 17+) | macOS | Linux, Windows | [🫈](https://emojipedia.org/hairy-creature), ... |
4141

4242
## .NET framework support
4343

@@ -60,4 +60,4 @@ $vhdsize = 100MB
6060
New-VHD -Path $vhdpath -Dynamic -SizeBytes $vhdsize | Mount-VHD -Passthru |Initialize-Disk -Passthru |New-Partition -AssignDriveLetter -UseMaximumSize |Format-Volume -FileSystem 'exFAT' -Confirm:$false -NewFileSystemLabel '{exfatLabel}' -Force|Out-Null
6161
```
6262

63-
Running as admin will automatically create and mount a exFat drive while tests are running.
63+
Running as admin will automatically create and mount a exFat drive while tests are running.

0 commit comments

Comments
 (0)