View Single Post
 
Old 07-08-2024, 07:23 AM
BrianS4 BrianS4 is offline Windows 10 Office 2021
Novice
 
Join Date: Jul 2024
Posts: 3
BrianS4 is on a distinguished road
Default

Thank you Robert2.

I had just finished working out the solution after several hours & many websites.
Every stage of the information took several sites to find.
I had never seen the No-Width Optional Break or Alt-X, didn't know much about what Unicode was, & didn't know how to do a search with Unicode.

No-Width Optional Break (also known as Zero-Width Space or ZWS or ZWSP) Unicode 200B
No-Width Non-Break (also known as Zero-Width Non-Joiner or ZWNJ) Unicode 200C

I eventually found out that that particular format symbol of concentric rectangles is used for both No-Width Optional Break (also known as Zero-Width Space or ZWS or ZWSP) Unicode 200B & the No-Width Non-Break (also known as Zero-Width Non-Joiner or ZWNJ) Unicode 200C.

The No-Width Optional Break is an invisible character that you can insert into a long text that doesn't do anything but tell Word where it can break the text for a new line.
This can be used, for example, in a web address so that Word doesn't put the whole address on a new line & leave a big space at the end of the line before.

Easy way to find Unicode Number

To find the actual character Unicode number, you either select the character, or position the cursor immediately after the character, & press Alt+X then it will convert the Character to the Unicode number of the character.
This number is in Hex.

The converse also works.
Write the Unicode number, select it, then press Alt+X & it will be converted to the Unicode Character.
The Alt+X is very handy.

Word Search for Unicode Character.

To do a search the Unicode Character number must be the decimal equivalent.
The decimal equivalent of my Character 200B is 8203

You can then do a Find as shown by Robert2 above:
Find what: ^u8203
This finds the Unicode Character with a DECIMAL CODE of 8203
If you use Alt-X to identify the Character then it gives you the HEX CODE so you need to convert it.
I just used an online converter to change HEX to DECIMAL

Windows Calculator App

The Calculator App in Windows 10 can also do conversions between Hex & Decimal, as well as Octal & Binary.

Just open the Calculator App & select the PROGRAMMER option.

Just click on the Hex line then use keypad & it will automatically show the result in the other number systems.

I find a ready to use App easier than a macro - but I haven't really played with macros yet.


Many thanks,
Brian.

Last edited by BrianS4; 07-08-2024 at 09:01 PM. Reason: More Information
Reply With Quote