Characters tables (Alternative to the PB tool)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
boddhi
Enthusiast
Enthusiast
Posts: 224
Joined: Mon Nov 15, 2010 9:53 pm

Characters tables (Alternative to the PB tool)

Post by boddhi »

Simplified new version here

As its name suggests, alternative to the PB tool:
Image

Lists about 5,600 characters
List of HTML codes of national and international flags
13 color palettes with RGB, HSL, HTML codes and HTML entities (Nearly 8,000 unique colors listed)
Possibility of searching by 'Description'
Possibility of displaying the different codes from the entry of a character
Possibility of copying in memory the different values of the character/color via the buttons located at the bottom of the window
Possibility to create a list of favorite characters
Localized in French and English with the possibility of translating/modifying it using the XML files provided

Important Notes:
• These tables are far from exhaustive. Apart from the ASCII table, the others are not necessarily complete. Thus, the table of accented characters was created mainly for use in the French language and the others were created according to needs deemed useful and interesting.
• A large part of the data has been processed manually (especially with regard to the descriptions), typos may therefore have slipped in independently of my will . I correct them as soon as I find them but you have the option to do it yourself using the XML files provided.
• If you use it and would like to see fixes/additions/improvements, please let me know :wink: .

Notes versions :
• 1.0 to 1.21 : Removed
• 2.00 : Adding of color lists with almost 1000 colors and with, among others, their RGB, HSL, HTML codes and HTML entities
             Fixed a bug related to localization
• 2.10 : Adding management of a favorite list of characters
             Adding storage of the coordinates/dimensions of the window and the widths of the lists columns
• 2.20 : Total completion of French and English descriptions 🥲
             Almost 300 characters added (mainly in emojis and mathematics categories - See the XML language files/New characters comment)
             Correction of 'Codes search' function for unicode characters coded with surrogate pairs (thanks to Idle & (indirectly) Demivec for their trick)
• 2.30 : 258 HTML codes of national and international flags added
• 2.50 : "Settings" option added to manage the colors used by the app
             5 color charts added (3 Pantone - 1 RAL - 1 HSK)
             Reorganization of accented letters
             Modification of some French descriptions
             Code improvements and minor bug fixes
• 2.53 : Possibility to choose font and font size for character preview and character lists
             Display of a tooltip when hovering the first column ('Symbol') of character lists added
             Pantone 3 color list data fixed (400 colors added)
             Bug of the display color of the previewed character fixed
• 2.54 : New Pantone palette added (with 1,200 new unique colors)
             Modification of Palettes interface buttons
• 2.55 : MUNSELL and AFNOR palettes added (with 2,100 new unique colors)
• 2.56 : Reading of characters and colors optimized

Todo list :
• Replace the default font by appropriate new one for the display of unicode characters with surrogate pairs (To date, I haven't found it and I'm not sure that there is one!)
• Remove octal codes and add CSS codes

Of course, need I specify ?, 100% non-malicious and virus-free tool!
Avast even allows me to use it, that is to say! Yet he is so quick to block... :D
Download version 2.56  -  (Alternative graphic version : Executable only)

If you have any comments and/or suggestions (within the limits of my abilities :D), don't hesitate! :wink:

Edit 26.01.23 : Add version 1.11 & 1.12 30.01.23 : version 1.20 31.01.23 : Add version 1.21
Edit 06.02.23 : Add version 2.00 07.02.23 : version 2.10 11.02.23 : version 2.20 13.02.23 : version 2.30 21.02.23 : version 2.50 24.02.23 : version 2.53 25.02.23 : version 2.54
Edit 05.03.23 : Add version 2.55 06.03.23 : version 2.56
Last edited by boddhi on Thu Mar 09, 2023 1:24 am, edited 21 times in total.
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Characters tables (Alternative to the PB tool)

Post by BarryG »

Looks good!
Denis
Enthusiast
Enthusiast
Posts: 704
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: Characters tables (Alternative to the PB tool)

Post by Denis »

Hi boddhi ,

really good. :D
I am interested in html codes.

When i select for example char 'Ligature A E dans l'A minuscule'
I click code HTML but i get
"Chaine '11100110' copié en mémoire"
If i click code nom HTML i get
"Chaine '&#230' copié en mémoire"
That's really what's on the clipboard
A+
Denis
boddhi
Enthusiast
Enthusiast
Posts: 224
Joined: Mon Nov 15, 2010 9:53 pm

Re: Characters tables (Alternative to the PB tool)

Post by boddhi »

Salut Denis.

Indeed, by modifying the code to localize it, I unintentionally created a bug in the keyboard shortcuts handling impacting the actions of the copy and search buttons.
Version 1.11 available correcting this bug.
Denis
Enthusiast
Enthusiast
Posts: 704
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: Characters tables (Alternative to the PB tool)

Post by Denis »

Salut boddhi,

Ok with V 1.11,

but i do prefer version 1.10 because when i click for example button 'Symboles' i do prefer having symboles list displayed instead of having a 'Recherche box'.

I am writing html documentation with an editor and I need to have some characters that the editor does not offer.

I don't know why you change this, finally i will still use V1.10.
May be you could add a checkbox or something else to choose between the list or the InputRequester.

Thank you for this tool.
A+
Denis
boddhi
Enthusiast
Enthusiast
Posts: 224
Joined: Mon Nov 15, 2010 9:53 pm

Re: Characters tables (Alternative to the PB tool)

Post by boddhi »

Salut Denis

:oops: I'm so confused... Wanting to fix the previous bug, I created a new one.
A simple "xxx=" missing !!!

New corrective version 1.12 available.

What kind of characters are you missing?
FYI, soon (today or tomorrow), I will make available a new version with nearly 900 new characters (accented characters, mathematical symbols, Greek alphabet, ...), new Alt-code, French and English descriptions added.
Denis
Enthusiast
Enthusiast
Posts: 704
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: Characters tables (Alternative to the PB tool)

Post by Denis »

boddhi wrote: Sat Jan 28, 2023 10:00 am What kind of characters are you missing?
your tool is very complete, all i wanted seems to be there.
(most of the time char like 'tiret insécable' etc.)

V1.12 is Ok for me. (Merci)
A+
Denis
boddhi
Enthusiast
Enthusiast
Posts: 224
Joined: Mon Nov 15, 2010 9:53 pm

Characters tables (Alternative to the PB tool)

Post by boddhi »

New version 1.20 :
• Added nearly 900 characters (Categories : Accented letters, Punctuation, Currency symbols, Mathematics)
• Added/corrected descriptions, ALT codes, HTML codes and entities
User avatar
Caronte3D
Addict
Addict
Posts: 1025
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Characters tables (Alternative to the PB tool)

Post by Caronte3D »

I can't change the languaje renaming the xml :?
User avatar
Janni
Enthusiast
Enthusiast
Posts: 127
Joined: Mon Feb 21, 2022 5:58 pm
Location: Norway

Re: Characters tables (Alternative to the PB tool)

Post by Janni »

Nice tool boddhi 👍
Spec: Linux Mint 20.3 Cinnamon, i7-3770K, 16GB RAM, RTX 2070 Super
User avatar
Caronte3D
Addict
Addict
Posts: 1025
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Characters tables (Alternative to the PB tool)

Post by Caronte3D »

Is there a way to know which character is available in which font?
boddhi
Enthusiast
Enthusiast
Posts: 224
Joined: Mon Nov 15, 2010 9:53 pm

Re: Characters tables (Alternative to the PB tool)

Post by boddhi »

@Janni : Thanks   :wink:

@Caronte3D
Do you rename the language file correctly (like explained into) ?
Suppose you have renamed the app to 'CharsTables.exe', the original/modified/translated language XML file will need to be renamed to 'CharsTables-lang.xml' in the app dir.

Concerning the fonts, I did not find (but I didn't search much, I confess) any font including all the character codes. I'm currently using the default Windows font (Segoe UI).
  1. Due to a PB limitation, only characters whose ASCII value is les than 65537 are correctly handled.
  2. For those which are not displayed correctly in the tool, their use (via the copy of the symbol) nevertheless remains usable on other applications such as Word, Excel, Web editors,...
I will look soon if I can find and include a font that solves this problem.
User avatar
Caronte3D
Addict
Addict
Posts: 1025
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Characters tables (Alternative to the PB tool)

Post by Caronte3D »

Take a look:
https://drive.google.com/file/d/1yxSfx8 ... share_link

As you can see, the languaje doesn't change to English :?
infratec
Always Here
Always Here
Posts: 6817
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Characters tables (Alternative to the PB tool)

Post by infratec »

I just tried it: I have the same problem.

When I search in the exe for 'lang', I can not see a name which should be loaded.

Btw. version is v120
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: Characters tables (Alternative to the PB tool)

Post by ChrisR »

Very nice and useful :)
Is it possible to keep the original buttons height when resizing. It becomes difficult to read when you reduce its height
Post Reply