non-printable Questions

16

Solved

I use to run $s =~ s/[^[:print:]]//g; on Perl to get rid of non printable characters. In Python there's no POSIX regex classes, and I can't write [:print:] having it mean what I want. I know o...
Lussi asked 18/9, 2008 at 13:17

4

Solved

How to remove the special characters shown as blue color in the picture 1 like: ^M, ^A, ^@, ^[. In my understanding, ^M is a windows newline character, I can use sed -i '/^M//g' to remove it, but ...
Catechist asked 30/3, 2017 at 4:4

1

If I want to display a special character like ⬀, ⤴ or ➶, How can I see if the user's browser can display it? I don't want the character to come out as ▯; if it would, I'd rather display a nor...
Annexation asked 19/2, 2014 at 21:26

4

Solved

I would like to convert a byte array containing non printable characters to string for my application. When I convert back to byte array, the contents of the array should remain the same as I found...
Sundown asked 4/11, 2011 at 12:32

2

Solved

This is a really weird problem. It's taken me practically all day to whittle it down to a small executable script that demonstrates the problem fully. Problem Summary: I'm using XML::Twig to pull...
Hulett asked 9/11, 2009 at 21:57

1

Solved

Is it possible to detect binary data in JavaScript? I'd like to be able to detect binary data and convert it to hex for easier readability/debugging. After more investigation I've realized that...
Rossuck asked 5/11, 2009 at 0:38
1

© 2022 - 2024 — McMap. All rights reserved.