ULX

Author Topic: GMod UTF-8  (Read 3820 times)

0 Members and 3 Guests are viewing this topic.

Offline BigBrainAFK

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
GMod UTF-8
« on: April 16, 2015, 03:06:10 AM »
Hello,

i just wanted to ask if there is a way to change GMod Lua to utf-8 so that i can put ä,ö,ü and stuff like that into my Strings.

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: GMod UTF-8
« Reply #1 on: April 16, 2015, 03:10:59 AM »
I doint think their is, just learn gmod Lua I guess
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline BigBrainAFK

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: GMod UTF-8
« Reply #2 on: April 16, 2015, 04:13:59 AM »
The problem is that german language uses some Umlaute (ä,ö,ü) and also ß (sz) and i don't want to use ae for ä, oe for ö, ue for ü and sz for ß all the time.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: GMod UTF-8
« Reply #3 on: April 16, 2015, 10:44:59 AM »
Unless I'm mistaken (which I might be)- I think that lua strings are direct passthroughs for c-strings, meaning that it's up to the Source Engine to handle the strings and properly display Unicode characters. I haven't tested this myself though.

One thing you can at least test in the meantime is to make sure your text editor is saving your script in the correct encoding- Notepad++ and Sublime have ways to check that.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline /2 MAN

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: GMod UTF-8
« Reply #4 on: August 27, 2015, 09:15:31 PM »
Hello,

i just wanted to ask if there is a way to change GMod Lua to utf-8 so that i can put ä,ö,ü and stuff like that into my Strings.

Yes