img



img

UTF8


By: enno_de
Addon | img 3,221




Description

___________________________________________________________________________________________________________________________

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".




About Project

Created: December 13th 2023

Updated: December 13th 2023

Project ID: 62371

License: All Rights Reserved

__________________________________________

Game Versions:

1.01.03

1.01.03

1.01.03

1.01.03

1.01.03

__________________________________________

Flavors:

WoW Retail

__________________________________________

Categories

Companions

Battle

__________________________________________

Main File

enno_de_UTF8.zip
  • Release
  • December 13th 2023

    __________________________________________

    Recent File

    enno_de_UTF8.zip
  • Release
  • December 13th 2023

    __________________________________________

    Members

    img
    enno_de
    Owner

    __________________________________________

    Report