Skip to content

incorrect conversion of String path #3221

@c-ding-math

Description

@c-ding-math
import qualified Streamly.Internal.FileSystem.PosixPath as Path
main :: IO()
main = do
    p <- Path.fromString "α.txt"
    print $ Path.toString p

The above yields: \945.tx. The last element t is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugDoes not work as expected

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions