7

I want to create a new symbol that combines an "Latin small letter o" and the diacritic symbol for "low line."

Latin small letter o is U+006F

Diacritic low line is U+0332.

The desired result would have a line below the o. It is the opposite of "Latin capital letter O with Macron" (http://www.fileformat.info/info/unicode/char/014c/index.htm) except that the line is equal to the width of the 0.

How to combine U+006F and U+0332 for use with JSON (e.g. \u006F and \u0332) and for use with HTML hex (e.g. o and ̲)

Avatar
  • 14,622
  • 9
  • 119
  • 198
Jay Gray
  • 1,706
  • 2
  • 20
  • 36
  • Found this: https://stackoverflow.com/questions/2224772/whats-the-unicode-glyph-used-to-indicate-combining-characters?rq=1 which explains HTML e.g. o̲ I need a longer 'low line' but will find one. Not sure how to do this for JSON. – Jay Gray Nov 22 '17 at 16:02
  • 1
    Type a letter o, then type a combining low line? No code needed, just paste o̲. How it actually looks is completely dependent on the font you're rendering it in. – bobince Nov 23 '17 at 20:18
  • I opened a Python REPL and wrote `"\u006F\u0332"` and copied the result: o̲ – Boris Verkhovskiy Nov 11 '19 at 02:33

1 Answers1

6

Based on this quesion: What's the unicode glyph used to indicate combining characters?

the answer for HTML and JSON basically is the same: concatenate sans space.

HTML entities: o̲

JSON: \u006F\u0332

Boris Verkhovskiy
  • 14,854
  • 11
  • 100
  • 103
Jay Gray
  • 1,706
  • 2
  • 20
  • 36