Download
(22Kb)
Download
Updated: 08-28-12 09:41 AM
Pictures
File Info
Updated:08-28-12 09:41 AM
Created:unknown
Downloads:4,298
Favorites:28
MD5:

UTF

Version: 5.0.0.1
by: Saiket [More]

_UTF provides a Unicode input dialog, and adds XML entity replacement for macros and the chat edit box. It accepts XML code point entities and HTML 4.0 entity names, and replaces them with the corresponding characters.

Details

Input Dialog

The input dialog box accepts a decimal representation of the desired character's code point. If the code point is valid, its corresponding character will show up magnified in the box above. On the other hand if a character isn't available in the font, a gray “N/A” placeholder will appear instead.

In addition to manually adding code points, using the mouse wheel over the dialog scrolls through available characters, skipping missing ones along the way. Once you find the right character, clicking the character's large preview will add it to either the macro or chat edit box.

XML Entities

A more general function of _UTF is the addition of XML character entity replacement in chat and macros. If you type an entity into your chat edit box and hit the [TAB] key, that entity gets converted into the right character. This system supports HTML 4.0 named character entities, as well as decimal and hexadecimal numeric references. You can define custom named character entities on _UTF's “Custom Replacements” subcategory in the Interface Options menu, or disable entities entirely from _UTF's main Interface Options menu.

Text Replacement

To make commonly used entities less of a hassle, you can define custom text replacements for all outgoing chat messages using regular expressions. For example, any group of three or more dots at the end of a sentence could be replaced with an ellipsis by replacing “%.%.%.+$” with “…”. These replacements can be added or removed from the _UTF “Custom Replacements” subcategory in the Interface Options menu, and can also be disabled from _UTF's main menu.

Options & Custom Replacements

_UTF's configuration is available in the Interface Options window, where XML Entity and Text Replacements can each be enabled and disabled. The “Custom Replacements” sub-menu allows the addition of custom XML entity names and text replacements.


References

The following links might help you make better use of _UTF:

  • 5.0.0.1: Updated for Mists of Pandaria.
  • 4.3.0.1: Bumped TOC for 4.3.
  • 4.2.0.1: Bumped TOC for 4.2.
  • 4.1.0.1: Bumped TOC for 4.1.
  • 4.0.0.1: Updated for Cataclysm Beta.
  • 3.3.5.3: Added text replacement support for Battle.net RealID whispers.
  • 3.3.5.2:
    • The browse dialog's glyph button can now insert into any editbox with focus in the entire UI.
    • Rewrote the browse dialog to now show entity names. Also, seeking between characters with the mousewheel is now instant.
  • 3.3.5.1: The custom entities table can now be sorted by clicking column headers.
  • 3.3.0.1: Entity replacements in the chat edit box now preserve the cursor's position.
  • 3.2.0.1: Updated LibTextTable-1.0 library.
  • 3.0.8.1: Finally added a GUI to the custom replacements option window!
Optional Files (0)


Post A Reply Comment Options
Unread 06-30-10, 02:23 AM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 330
Uploads: 9
Re: Calendar problems

Originally posted by owoc
I've been trying to invite some people with diacritics in names to a calendar event. I've had some success with using _UTF to input the names into the chat editbox and then copying them to the calendar, but I can't crack one character: ï (i with diaeresis). Presumably some other characters would behave in the same way. The actual problem is that while I can input ï into the chat editbox just fine, when I try to copy from there to the calendar, it turns into a standard latin i, ruining my attempt to invite the player. Any ideas on how to resolve this or find a workaround?

Note that shift-clicking a character's name in chat will not work in the calendar like it does in friends and ignore.

Edit: encountered same problem with ø (o with stroke).
I've just uploaded a new version that should make this a lot easier. Open version 3.3.5.2's character browser with "/utf", and you can use either a character name or codepoint to bring up the right one. Give the calendar's edit box focus, and click the character in _UTF's browser. That will put the character into the selected edit box.

The same steps should work for any edit box in the game now, instead of just the macro window and chat editor.
Report comment to moderator  
Reply With Quote
Unread 06-28-10, 04:54 AM  
owoc
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Calendar problems

I've been trying to invite some people with diacritics in names to a calendar event. I've had some success with using _UTF to input the names into the chat editbox and then copying them to the calendar, but I can't crack one character: ï (i with diaeresis). Presumably some other characters would behave in the same way. The actual problem is that while I can input ï into the chat editbox just fine, when I try to copy from there to the calendar, it turns into a standard latin i, ruining my attempt to invite the player. Any ideas on how to resolve this or find a workaround?

Note that shift-clicking a character's name in chat will not work in the calendar like it does in friends and ignore.

Edit: encountered same problem with ø (o with stroke).
Last edited by owoc : 06-28-10 at 12:09 PM.
Report comment to moderator  
Reply With Quote
Unread 02-26-10, 09:34 PM  
Gryzvwald
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Thank you for the explanation Saiket .
Report comment to moderator  
Reply With Quote
Unread 02-26-10, 02:12 AM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 330
Uploads: 9
Re: Not working when...

Originally posted by Gryzvwald
UTF does not seem to work with Tekkub's "Tekticles" addon. I know that its most likely that the fonts he uses doesn't support the characters. Just wanted to let you know. Disabling the tekticles addon lets UTF do its thang just fine .
Yep, Tekkub's font probably just doesn't have many special characters in it. Any time you get a "?" in chat, that character was missing. Unfortunately there's no good way around this other than to remember which ones work and which don't with your font. You could try a different font that supports more languages, but you probably use tekticles because of Calibri, and it only supports Latin, Latin extended, Greek, and Cyrillic letters.

____
Edit: I just did a little more digging, and apparently tekticles comes with Calibri 1.00, which seems to predate Microsoft Office 2007. The most up-to-date version is 5.62, and comes bundled with Windows 7, in case you have a copy. Version 5.00 came with Windows Vista. I assume that the later versions came with more characters. If you do, put whichever newer "calibri.ttf" file you have in tekticles over top of the old copy.

Info (and purchase/licensing options) from Microsoft
Last edited by Saiket : 02-26-10 at 02:31 AM.
Report comment to moderator  
Reply With Quote
Unread 02-26-10, 02:05 AM  
Gryzvwald
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Not working when...

UTF does not seem to work with Tekkub's "Tekticles" addon. I know that its most likely that the fonts he uses doesn't support the characters. Just wanted to let you know. Disabling the tekticles addon lets UTF do its thang just fine .
Report comment to moderator  
Reply With Quote
Unread 09-20-09, 04:48 PM  
Faraque
A Theradrim Guardian
 
Faraque's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 105
Uploads: 1
Phenominal, thank you for the quick response too

Amazing what one punctuation mark can do >.>
__________________
"imo Fara raged and gave Joker his scars" - Blueninja of Shadowmoon
Report comment to moderator  
Reply With Quote
Unread 09-20-09, 04:21 PM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 330
Uploads: 9
Originally posted by Faraque
Ok, I wanted to play with this for the musical notes, and the Trademark/copyright/reserved symbols.

However, when I enter any of the reference numbers into chat, and hit tab, they do not change. More specifically, I press enter, type "♫", Press tab, hit enter, my chat log shows "[S] [Darken]: ♫"

Am I doing something wrong? Could other addons interfere with its function? As far as chat related addons go, I'm currently using Prat and Cellular.
Don't forget to include the ";" at the end. Also, you can use "&note;" or "&notes;" as shortcuts for those two characters.
Report comment to moderator  
Reply With Quote
Unread 09-20-09, 04:12 PM  
Faraque
A Theradrim Guardian
 
Faraque's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 105
Uploads: 1
Ok, I wanted to play with this for the musical notes, and the Trademark/copyright/reserved symbols.

However, when I enter any of the reference numbers into chat, and hit tab, they do not change. More specifically, I press enter, type "&#9835", Press tab, hit enter, my chat log shows "[S] [Darken]: &#9835"

Am I doing something wrong? Could other addons interfere with its function? As far as chat related addons go, I'm currently using Prat and Cellular.
__________________
"imo Fara raged and gave Joker his scars" - Blueninja of Shadowmoon
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.