Greek Language

Hello!

I’m new in programming with Corona and i would like to know about text in greek language.

I want to create a text like this:

local text1 = display.newText (“Hello Καλημέρα”, 0, 0, “Arial”, 18);

but the string with greek characters doesn’t appear in corona simulator…

Is greek a non supported language?

Is there any way to write texts in greek?

Thanks for your help!!!

This should work, provided you’re saving the LUA file in the proper UTF-8 encoding. Try to create the respective Lua file in Notepad++, for instance, and when saving set it to Encoding -> Encode in UTF-8 without BOM. (Make sure the characters properly appear in Notepad++, too.) If that doesn’t work let us know :slight_smile:

This should work, provided you’re saving the LUA file in the proper UTF-8 encoding. Try to create the respective Lua file in Notepad++, for instance, and when saving set it to Encoding -> Encode in UTF-8 without BOM. (Make sure the characters properly appear in Notepad++, too.) If that doesn’t work let us know :slight_smile: