grzesiek-galezowski / tdd-ebook

Test-Driven Development - Extensive Tutorial. Open Source ebook
https://leanpub.com/tdd-ebook
Other
361 stars 57 forks source link

Replace UTF-8 0xa0 with space 0x20 #53

Open martinmoene opened 9 years ago

martinmoene commented 9 years ago

Some of the 0xa0 space characters in the .md files render as 'nothing' in the HTML and the PDF output.

See for example "Isat" and "aperson" in How to start:

How to start?

Whenever Isat down with aperson

It appears for the first time in the PDF of 2015-09-03.

I suspect these characters can safely be replaced with normal space characters (when there are no outstanding PRs for these files...).

Files with 0xa0:

020_Part1Marker.md
030_Motivations.md
040_Three_Essential_Tools.md
050_Its_Not_a_Test.md
060_Statement_First_Programming.md
070_Practicing_What_We_Already_Learned.md
080_Sorting_out_the_bits.md
090_How_to_start.md
100_Analysis_In_TDD.md
110_Constrained_Non_Determinism.md
120_What_is_the_scope_of_a_Statement_in_TDD.md
130_Boundaries.md
140_Triangulation.md
150_Part2Marker.md
160_Composable_Design.md

Other files have Windows-1252 encoding (didn't check all files).

grzesiek-galezowski commented 9 years ago

Hmm... that makes me wonder... I didn't change most of those files around September. I'm curious what made the changes. One thing I remember is that around that time, I started using Visual Studio Code editor for writing.

I'll see if I can make a small script that will monitor for such things as broken encoding and strange characters appearing. It might be a good idea to put it on Travis or a similar service to check each commit.