Hacker News new | ask | show | jobs
by xtrumanx 4336 days ago
Quick question; when characters appears as blocks on my screen, they can still be copy-pasted, right? I would imagine so since the required font is missing but the data, which is the important part, is still available.
2 comments

The unfortunate answer is "it depends."

There's three reasons why text might appear blocked out: corrupt data (we'll ignore this), data in formats the text renderer doesn't "understand," and data in formats it DOES understand but doesn't have the prerequisite fonts to draw.

Typically when it is a lack-of-fonts issue you can copy it back out and paste it elsewhere and it will work fine as the data's consistency is kept.

But when the text renderer literally doesn't understand the underlying data (either because it is misconfigured or doesn't fully support UNICODE), when you try to copy back out you'll often get a corrupted version of the underlying data which cannot be reused (e.g. a 2 byte character treated as two 1 byte characters).

That issue is less and less common in 2014, as MOST text renderers support 2 byte UNICODE characters even if they won't have the fonts to render the full sets. But around the year 2000, it was fairly common to run across a text editor which under-the-hood was just ASCII and it would corrupt irrecoverably UNICODE inputed.

Fist of all, I am quite aware that funny remarks are frowned upon on HN and I agree to this policy. That said, I think that http://www.bash.org/?244321 is still the correct and informative answer.
That's not relevant at all to that person's question. Did you link the right thing? That is the generic password "joke."