JsonStatham
JsonStatham

Reputation: 10384

Why does SSMS treat two t's as one character

Say I write the following select statement:

select distincttype_of_reading

And I move the cursor to either of the t's and press the key to move to the next one, it will skip over one of the t's treating the tt combination as one character.

Same as if I press delete it will delete both of the t's rather than just one. If I press backspace it will delete one at a time however.

This isnt a problem as such, im just curious as to why if at all there is an explaination?

Upvotes: 0

Views: 170

Answers (1)

Damien_The_Unbeliever
Damien_The_Unbeliever

Reputation: 239824

It appears to be font related. The Calibri font supports ligatures and so, apparently does the 2008 editor (the 2012 editor doesn't have this issue).

So tt is being treated as a single glyph, for most purposes.

Upvotes: 2

Related Questions