The Old New Thing

2 min read Original article ↗

Latest posts

All the other cool languages have <CODE>try</CODE>…<CODE>finally</CODE>. C++ says “We have <CODE>try</CODE>…<CODE>finally</CODE> at home.”

Dec 22, 2025

Post comments count 3

Post likes count 2

All the other cool languages have <CODE>try</CODE>…<CODE>finally</CODE>. C++ says “We have <CODE>try</CODE>…<CODE>finally</CODE> at home.”

Raymond Chen

Raymond Chen

The destructor serves as the "finally".

A shortcut gives me a weird path for a program shortcut that doesn’t point to the executable, so what is it?

Dec 19, 2025

Post comments count 8

Post likes count 2

A shortcut gives me a weird path for a program shortcut that doesn’t point to the executable, so what is it?

Raymond Chen

Raymond Chen

It's a placeholder because the shortcut is to an MSI application.

Concluding thoughts on our deep dive into Windows clipboard text conversion

Dec 18, 2025

Post comments count 9

Post likes count 3

Concluding thoughts on our deep dive into Windows clipboard text conversion

Raymond Chen

Raymond Chen

Stick to Unicode and you'll be fine.

Deducing the consequences of Windows clipboard text formats on UTF-8

Dec 17, 2025

Post comments count 3

Post likes count 3

Deducing the consequences of Windows clipboard text formats on UTF-8

Raymond Chen

Raymond Chen

Working out the implications.

Why is the Windows clipboard taking the scenic route when converting from <CODE>CF_<WBR>TEXT</CODE> to <CODE>CF_<WBR>OEM­TEXT</CODE>?

Dec 16, 2025

Post comments count 3

Post likes count 1

Why is the Windows clipboard taking the scenic route when converting from <CODE>CF_<WBR>TEXT</CODE> to <CODE>CF_<WBR>OEM­TEXT</CODE>?

Raymond Chen

Raymond Chen

Something is forcing it down an alternate path.

Misunderstanding what the Cricket Celebration Bowl is

Dec 15, 2025

Post comments count 3

Post likes count 1

Misunderstanding what the Cricket Celebration Bowl is

Raymond Chen

Raymond Chen

Apparently, not a bowl of crickets.

The Windows clipboard automatic text conversion algorithm is path-dependent

Dec 15, 2025

Post comments count 1

Post likes count 3

The Windows clipboard automatic text conversion algorithm is path-dependent

Raymond Chen

Raymond Chen

When the journey is not half of the fun.

Resolving an ambiguity in the Windows clipboard automated text conversion table

Dec 12, 2025

Post comments count 8

Post likes count 2

Resolving an ambiguity in the Windows clipboard automated text conversion table

Raymond Chen

Raymond Chen

Who goes first?

Studying the various locale mismatch scenarios in Windows clipboard text format synthesis

Dec 11, 2025

Post comments count 9

Post likes count 2

Studying the various locale mismatch scenarios in Windows clipboard text format synthesis

Raymond Chen

Raymond Chen

If they don't match, then the 8-bit strings are basically broken already.

Load more posts