promotional bannermobile promotional banner

UTF8

A library for manipulating UTF-8 strings.

Provides UTF-8 aware string functions implemented in pure lua.

This is a library and therefore not meant to be installed as an addon.

To use it in your own addon, just add the file utf8.lua to your .toc file and in your addons .lua  file reference the library package as follows:

local utf8 = Apollo.GetPackage("Jos_eu:UTF8-1.1").tPackage
 
Usage example:
 
local utf8 = Apollo.GetPackage("Jos_eu:UTF8-1.1").tPackage
local str = "Schönes Wetter!"
Print(utf8.len(str)) -- prints 15, with string.len(str) it would print 16
Print(utf8.sub(str, 1, 7)) -- Schönes
Print(utf8.reverse(str))   -- !retteW senöhcS
Print(utf8.upper(str))     -- SCHÖNES WETTER!
Print(utf8.lower(str))     -- schönes wetter!
 
This is a WildStar version of the WoW port UTF8 of Kyle Smith's "utf8.lua".

The UTF8 Team

profile avatar
Owner
  • 15
    Projects
  • 218.0K
    Downloads

More from enno_deView all

  • UnitedDialogs project image

    UnitedDialogs

    • 22.1K
    • Addons

    Enhances NPC and Player dialog bubbles of quest dialogs with additional quest information, keyboard interaction, font settings and unites them to stick together.

    • 22.1K
    • March 8, 2017
    • Addons
    • +1
  • ChatLinks project image

    ChatLinks

    • 34.3K
    • Addons

    Highlights URLs in the chat log as clickable links.

    • 34.3K
    • March 8, 2017
    • Addons
  • SteadyPlates project image

    SteadyPlates

    • 105.7K
    • Addons

    Modifies the default nameplates to show additional makers for thread and interrupt armor. Also prevents them form hiding when speech bubbles appear in combat .

    • 105.7K
    • March 8, 2017
    • Addons
    • +2
  • ToolTipFilter project image

    ToolTipFilter

    • 3.5K
    • Addons

    Filters tooltips for in world items to only be shown when CTRL key is pressed.

    • 3.5K
    • April 4, 2016
    • Addons
  • UnitedDialogs project image

    UnitedDialogs

    • 22.1K
    • Addons

    Enhances NPC and Player dialog bubbles of quest dialogs with additional quest information, keyboard interaction, font settings and unites them to stick together.

    • 22.1K
    • March 8, 2017
    • Addons
    • +1
  • ChatLinks project image

    ChatLinks

    • 34.3K
    • Addons

    Highlights URLs in the chat log as clickable links.

    • 34.3K
    • March 8, 2017
    • Addons
  • SteadyPlates project image

    SteadyPlates

    • 105.7K
    • Addons

    Modifies the default nameplates to show additional makers for thread and interrupt armor. Also prevents them form hiding when speech bubbles appear in combat .

    • 105.7K
    • March 8, 2017
    • Addons
    • +2
  • ToolTipFilter project image

    ToolTipFilter

    • 3.5K
    • Addons

    Filters tooltips for in world items to only be shown when CTRL key is pressed.

    • 3.5K
    • April 4, 2016
    • Addons