path icon indicating copy to clipboard operation
path copied to clipboard

join() not working as advertised

Open rohintoncollins opened this issue 9 months ago • 0 comments

pubspec.yaml:

  path: ^1.9.0
join('/ZCLOUD', 'ZCloud Master Key :grinning:§ąśćżłóę:.txtÆ.txt')

should return

/ZCLOUD/ZCloud Master Key :grinning:§ąśćżłóę:.txtÆ.txt

It is incorrectly returning

ZCloud Master Key :grinning:§ąśćżłóę:.txtÆ.txt

Of note is the emoji 'colon-grinning-colon' plus the other special characters '§ąśćżłóę' plus a colon which is a forward slash in the macOS Finder file name (and is represented by a colon) plus the 'Æ' character.

rohintoncollins avatar May 16 '24 12:05 rohintoncollins