Live data from Hacker News

ASCII and Unicode quotation marks

cl.cam.ac.uk

1–10 of 195 posts

Re: ASCII and Unicode quotation marks

#3
MS PGothic, a very common font in Japan, still uses this type of quote. "Quoting like this'' (double quote, then two single quotes) looks the most natural in this font. "Using two double quotes" looks quite odd (see screenshot) [1]

If you've ever seen an English-language page on a Japanese website that used weird quotes, this is probably why.

[1] https://i.imgur.com/zcuFZa1.png

Re: ASCII and Unicode quotation marks

#5
post #2

FYI For a long time GNU coding standards prescribed using the grave accent, but this changed some years ago now https://www.gnu.org/prep/standards/html_node/Quote-Character...

From the link:

> Although GNU programs traditionally used 0x60 (‘`’) for opening and 0x27 (‘'’) for closing quotes, nowadays quotes ‘`like this'’ are typically rendered asymmetrically, so quoting ‘"like this"’ or ‘'like this'’ typically looks better.

Is this link saying I can quit using `QUOTES' in my Emacs-documentation? That style always struck me as odd :)

Re: ASCII and Unicode quotation marks

#6
I'm pretty sure text like:

  ``quoted''
Is how you're supposed to write short quotes in the TeX/LaTeX typesetting system.

[edit: My point being that the author seems to think this type of quoting originated with X11... which is actually newer than TeX (X11 was first released in 1984), and that the prevalence of this type of quoting likely originated with TeX when it was released in 1978... which isn't mentioned at all in the article. In fact, since TeX/LaTeX is what all the CS, Physics, and Math types were using for journal articles, it is likely the X11 font bitmap glyphs were intentionally shaped like curly quotes to make editing your TeX source files prettier.

At least, that's how I remember it...]

Re: ASCII and Unicode quotation marks

#7
It's very odd for me to see the grave accent (`) as quoting mark in bash and other programming languages. I understand that the accent alone lose its function for the human language. But still uncomfortable to se an accent as delimiter to a string.

Re: ASCII and Unicode quotation marks

#8

MS PGothic, a very common font in Japan, still uses this type of quote. "Quoting like this'' (double quote, then two single quotes) looks the most natural in this font. "Using two double quotes" looks quite odd (see screenshot) [1] If you've ever seen an English-language page on a Japanese website that used weird quotes, this is probably why. [1] https://i.imgur.com/zcuFZa1.png

Ah, the old dead giveaway "this game was translated from japanese and we CBA to handle localisation properly" fonts.

Re: ASCII and Unicode quotation marks

#9

I'm pretty sure text like: ``quoted'' Is how you're supposed to write short quotes in the TeX/LaTeX typesetting system. [edit: My point being that the author seems to think this type of quoting originated with X11... which is actually newer than TeX (X11 was first released in 1984), and that the prevalence of this type of quoting likely originated with TeX when it was released in 1978... which isn't mentioned at all…

Yeah but that gets rendered as the proper quote glyph in the final document.

Re: ASCII and Unicode quotation marks

#10
It just occurred to me how much easier certain text-operations (like syntax highlighting, regular expressions and other parsers) if we consistently used the right unicode symbols for quotes and apostrophes
Post reply on HN