Skip to content

Escape characters not working on macOS #11

@my1e5

Description

@my1e5

Consider this minimal example where I want to print this string to stdout

\"hello\"

By escaping the characters appropriately, I can get this to work on Windows. However, it doesn't seem to work on macOS?
I'm using Max 8 and shell 1.0b3

Windows 10

Image

macOS - Seqouia 15.3.1

Image

MRE

<pre><code>
----------begin_max5_patcher----------
367.3ocoREsaBCCC74juhn7zlTGpsPQi8qrMgBsdPPkjpjTVmP7uuDmVFLUo
UM5CMxWry46rOQI7M5NvxYuvdkQHmnDBBE.H8wD9AQWYsvhowUvm5M64Iwqb
PmCgs6f55ATU6AcqqFbXI48nMBW4NoZ6ZCT5hTlWrbVZBKOcQ3X9bLHeVJ68
9ZhOi6qFHV.mmv3aDps7KoHqvFv2TOkcUCHUC7m0CZEGgp0977zuV3bF4lVW
T7jKhkzqjvS9PE7gns18HGu5LkN7+LMYh10AvZEagwclr+1YJRCGqxmfyLpi
rZTKI+9UxkIOTtSydK9wCdmdH3+J5rk2onK9SQikwqkpeu7icU.+VmvpaMkC
jNvA6mFqBrNoR3jZ00IEyYTydxDMEd7SYV1MDEEnno4HXr8Yib3Gp60lP3yI
XnTECKvPCbTNj+bDQX7iImeF0Zv9h2sbAOVptBLpVINUoA04oDWXTB+1RiHJ
Dbuhdl9Mda4BqA
-----------end_max5_patcher-----------
</code></pre>

Context

I have a CLI tool that outputs an 'escaped' json file as a single line to stdout. This can then be fed directly into dict.deserialize. This is working on Windows. But, I'm finding that on macOS the escape characters (which I'm using to escape the " and , characters) get stripped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions