Questions tagged [hidden-characters]
34 questions
887
votes
23 answers
Make Vim show ALL white spaces as a character
I can't find a way to make Vim show all white spaces as a character.
All I found was about tabs, trailing spaces etc.
Matt
49
votes
10 answers
Removing hidden characters from within strings
My problem:
I have a .NET application that sends out newsletters via email. When the newsletters are viewed in outlook, outlook displays a question mark in place of a hidden character it can’t recognize. These hidden character(s) are coming from…

bradley4
- 3,823
- 6
- 34
- 41
39
votes
11 answers
In Perl, how to remove ^M from a file?
I have a script that is appending new fields to an existing CSV, however ^M characters are appearing at the end of the old lines so the new fields end up on a new row instead of the same one. How do I remove ^M characters from a CSV file using Perl?

Alex Wong
- 761
- 3
- 9
- 15
8
votes
3 answers
Removing hidden file end characters (BOM) in visual studio
I'm using a batch file to concatenate all my css files
copy /b reset.css+action-plan.css+buttons.css+behaviours.css+footer.css+forms.css+header.css+home.css+layout.css+lightbox.css+print.css+questionnaire.css+typography.css+you-told-us.css…

wheresrhys
- 22,558
- 19
- 94
- 162
7
votes
6 answers
Display hidden characters in NSTextView
I am writing a text editor for Mac OS X. I need to display hidden characters in an NSTextView (such as spaces, tabs, and special characters). I have spent a lot of time searching for how to do this but so far I have not found an answer. If anyone…

titaniumdecoy
- 18,900
- 17
- 96
- 133
6
votes
1 answer
Show invisible Tab characters but not end of line characters in Dreamweaver CS4/5?
A friend of mine uses Coda, another Geany, which both have the ability to only show Tab and Space invisible characters and not end of line characters.
Can anyone enlighten me on a way to do this in Dreamweaver?
Thank you.

Sabai
- 1,579
- 5
- 24
- 40
2
votes
1 answer
R: remove hidden line break characters from text strings within a data frame
I have discovered that some strings within my data frame contain hidden line break characters, though I can't tell exactly which (when loaded into gVim they simply show up as line breaks). The following code:
gsub("[\r\n]", "", x)
successfully…

Beth Snyder
- 31
- 1
- 3
2
votes
2 answers
PHP: How to get rid of strange characters like "\u00a0"?
I got a messy bunch of JSON data to import into my database (for further purposes). When i checked them out (opened in a Text Editor), they contain so many weird (gibberish) characters like:
\u00a0
For example, data.json:
[{"title":"hello…

夏期劇場
- 17,821
- 44
- 135
- 217
2
votes
1 answer
How to show invisible characters in webstorm
As many of you have probably come across the problem of cutting and pasting some code, which comes along with it some hidden characters often resulting in the dreaded UNEXPECTED_TOKEN_ILLEGAL
Is there a way within Webstorm to show/hide invisible…

gardni
- 1,384
- 2
- 24
- 51
2
votes
7 answers
Determining if a Unicode character is visible?
I am writing a text editor which has an option to display a bullet in place of any invisible Unicode character. Unfortunately there appears to be no easy way to determine whether a Unicode character is invisible.
I need to find a text file…

titaniumdecoy
- 18,900
- 17
- 96
- 133
2
votes
2 answers
PHP - how can I show \n \0 \t \x0B \r
How can I show these characters on a webpage?

Phill Pafford
- 83,471
- 91
- 263
- 383
1
vote
1 answer
I paste code in a jupyter notebook. The hidden characters from text editor are copied. How to disable this?
I am using Jupyter Notebook with the Python 3 ipykernel. If I paste code from a text editor into the Jupyter Notebook, all the hidden characters (in the text editor) show up as visible characters.
It is strange: e.g., I can backspace and erase the…

Ralff
- 401
- 2
- 5
- 15
1
vote
1 answer
clean csv file from hidden characters
I work with CSV files and upload them to an S3 server.
Sometimes after a small process that I did with the file I get hidden characters to look like this ∩╗┐ before the first columns, I want to write a script that "clean" the files before upload but…

DanSega1
- 11
- 2
1
vote
0 answers
Two Powershell strings of different lengths are considered equal?
I have found something unusual with PowerShell strings...I hope this is just something I'm missing. Here's what I found.
I copied some data from a web page (KQL searches for O365 if anyone cares), and it contained hidden control characters. Here…

Matthew
- 1,096
- 7
- 12
1
vote
1 answer
Remove invisible backspace characters from mysql data
I have the following invisible character in my dataset
Which I believe is this character
http://www.fileformat.info/info/unicode/char/0008/index.htm
How do I remove this? I've tried
UPDATE events SET `value` = TRIM(REPLACE(`value`, CONVERT(char(8)…

Titan
- 5,567
- 9
- 55
- 90