1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Skript MySQL UTF-8 Support ?

Discussion in 'Requests' started by Jarns, Apr 9, 2017.

  1. Jarns

    Jarns Member

    Joined:
    Feb 19, 2017
    Messages:
    20
    Likes Received:
    2
    Is MySQL UTF-8 Support possible yet ?
    I want UTF-8 Support :/

    Thank for interest.

    Example Code:
    Code (Skript):
    1. update "INSERT INTO `database_utf8` (`Data_1`, `Data_2`) VALUES ('DATA', 'DATA')"
     
  2. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,181
    Likes Received:
    220
    Of course it is, you just have to define the table.
    Code (Skript):
    1. CREATE TABLE `mytable` ( `data1` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci , `data2` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci) ENGINE = InnoDB;
     
  3. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,181
    Likes Received:
    220
    Stick it in an update effect

    update "..."
     
    • Like Like x 1
    • Agree Agree x 1

Share This Page

Loading...