Questions tagged [combining-marks]

Combining characters (marks) are characters that are intended to modify other characters

In digital typography, combining characters are characters that are intended to modify other characters. The most common combining characters in the Latin script are the combining diacritical marks (including combining accents).

Unicode also contains many precomposed characters, so that in many cases it is possible to use both combining diacritics and precomposed characters, at the user's or application's choice. This leads to a requirement to perform Unicode normalization before comparing two Unicode strings and to carefully design encoding converters to correctly map all of the valid ways to represent a character in Unicode to a legacy encoding to avoid data loss.

In Unicode, the main block of combining diacritics for European languages and the International Phonetic Alphabet is U+0300–U+036F. Combining diacritical marks are also present in many other blocks of Unicode characters. In Unicode, diacritics are always added after the main character, so it is possible to add several diacritics to the same character, although as of 2010, few applications support correct rendering of such combinations.

Link: http://en.wikipedia.org/wiki/Combining_character

33 questions
1
vote
0 answers

Hide a given combining character from HTML

I have HTML that contains text with accent marks (U+0301 - a combining character) to denote stress. I'd like to be able to show and hide the accents with a checkbox. Some of the HTML is dynamically generated. Is there a way to do this with CSS only?…
ngn
  • 7,763
  • 6
  • 26
  • 35
1
vote
0 answers

Is there a limit to combining characters with unicode?

I know there can be an arbitrary amount of characters, but is there a limit to how many you can add? And if there is a possible way to add a combining character onto a combining character that has been combined with a normal letter.
12x1
  • 11
  • 2
1
vote
0 answers

VS Code "Better handling for Unicode combining characters": not

In the change documented enter link description here entitled "Better handling for Unicode combining characters", it says VS Code "made improvements around handling of Unicode combining characters and we treat such sequences as atomic characters (in…
Mike Maxwell
  • 547
  • 4
  • 11
1
vote
0 answers

python using unicode combining overline

I'm creating pdf documentation of engineering calculations using reportlab. I stick to the notation used in the code being implemented. This uses mainly Latin and Greek letters, sub- and superscripts. For these I implemented a very simple method…
jake77
  • 1,892
  • 2
  • 15
  • 22
1
vote
0 answers

Render combining characters separately in Emacs and Vim

By default, Sublime Text renders combining Unicode characters as separate characters. For example, the string "a̅c" (U+0061, U+0305, U+0063) is displayed as: combining rendering (in the body, not the tab). Is there a way to duplicate this behavior…
Merlin
  • 11
  • 2
1
vote
1 answer

Get the correct graphical representation of Thai combination characters

I'm trying to write a bitmap font that can render Thai (amongst others). I've got the character set but a lot of the characters are "combining character" codepoints. I'm using Graphics.DrawString to get a bitmap of the characters. This worked fine…
Luc Bloom
  • 1,120
  • 12
  • 18
1
vote
1 answer

I need Batch assistance with if and combining variables

I am making a dungeon crawling engine in batch. I've made an easy-to-use map editor, but need help with a specific IF statement. (...) set Xpos=3 set Ypos=3 set unipos=%Xpos%.%Ypos% goto map2.2 :map2.2 rem N rem ??=?? rem ==+== rem W =?=?=…
1
vote
1 answer

How to count combining character sequences with StringInfo

I'd have thought that's what the LengthInTextElements property was for. The MSDN says this property is: The number of base characters, surrogate pairs, and combining character sequences in this StringInfo object. So it sure looks like it should…
mcwyrm
  • 1,571
  • 1
  • 15
  • 27
1
vote
2 answers

What is the need of combining characters in Unicode?

What is a practical application of having a combining character representation of a symbol in Unicode when a single code point mapping to the symbol will alone suffice? What programming/non-programming advantage does it give us?
batman
  • 5,022
  • 11
  • 52
  • 82
0
votes
1 answer

Is there anyway for combining minutes and hours here?

So in the image what i want is when you click the button there, the 30 minutes are summed up in the top, but it should become 47 hours and 10 minutes. Now it becomes 46 hours and 70 min ... Is there anyway for this to work properly? My code now…
0
votes
1 answer

Is there a Unicode 'combiner' akin to a superscript style?

Looking at how we handle superscripts (and subscripts). I see that on the one hand they are treated like a style. i.e. xy becomes: xy But in Unicode we seem to have superscripts and subscripts instead as individual glyphs. For…
Bruce Adams
  • 4,953
  • 4
  • 48
  • 111
0
votes
0 answers

Fix issue with Google Fonts bad display

Disclaimer: I am a beginner. Please feel free to improve this question's contents as you consider. I want to use a font from Google Fonts that is able to support a series of unusual accented characters. This implies writing accents like: ◌̣ –…
0
votes
1 answer

List - take elements with equal name

Having a List like this: [utc1_1.tga, utc1_2.tga, utc1_3.tga, utc1_4.tga, utc2_1.tga, utc2_2.tga, utc2_3.tga, utc2_4.tga, utc3_1.tga, utc3_2.tga, utc3_3.tga, utc3_4.tga,..] I separated with this: images = list(sorted([int(name.split('_')[0]) for…
SkyImager
  • 3
  • 5
0
votes
1 answer

Complex SQL query to combine rows

I have 2 tables first is Thread { code, itr_global,campaign, contact, start_time,duration} segment {code,thread,start_time,duration,state} There are multiple other joins but these 2 are major joins. 2 table are realted as…
0
votes
1 answer

Unicode characters aren't combined properly

I am working with some Devanagari text data I want to display in the browser. Unfortunately, there's one combination of nonspacing combining characters that doesn't get rendered as a proberly combined character. The problem occurs every time a base…
bkis
  • 2,530
  • 1
  • 17
  • 31