Questions tagged [thai]

The national language of Thailand whose unique script presents various challenges when processing or rendering text.

The national language of Thailand whose unique script presents various challenges when processing or rendering text:

  • Non-spacing / combining marks for some vowels and tone marks
  • Some tone marks stack vertically
  • Some vowel letters are not rendered visually in the same order they are stored logically as data
  • Spaces are not used between words
106 questions
1
vote
2 answers

Export MySQL data to CSV with Thai language support

I am trying to export data from mysql database to a CSV file, but Thai content is being displayed as ????s. Also, in database it's not taking whatever I enter. If I enter ปดิวรัดา , it's saving as ปดิวรัดา Please help me. EDIT: Now,…
Jhansi
  • 19
  • 2
  • 6
1
vote
4 answers

Right justify string containing Thai characters

I would like to right justify strings containing Thai characters (Thai rendering doesn't work from left to right, but can go up and down as well). For example, for the strings ไป (two characters, length 2) and ซื้อ (four characters, length 2) I want…
1
vote
1 answer

Flex 4.6 Spark Label not displaying Thai Language correctly

I have a spark list component that uses an itemrenderer. It's a list of avatar (images) and names of people. Latin and other languages are displayed correctly but for Thai, where it only shows square boxes. Please help! Here's the code I use:
Luca
  • 51
  • 3
0
votes
1 answer

Android Thai Localization

I have implemented language localization to an Android application. My questions are: I can't seem to test if the localization works, as Android doesn't seem to support Thai natively. Is this the case? If a Thai font pack was installed on a phone…
0
votes
1 answer

Problems displaying Thai characters in Flex FTE components on Mac

I am running into issues displaying Thai characters in Flex components that make use of the Flash Text Engine (FTE), specifically on Mac OSX 10.6.8 Snow Leopard. Here's a blurb of my compiler font managers in flex-config.xml:
P4ndaman
  • 361
  • 2
  • 7
  • 21
0
votes
1 answer

How can I use python to find specific Thai word in multiple csv file and return list of file name that's contain the word

I have like 100+ file in directory and I need to find out which files contain the word in Thai that I looking for Thank you I try this but it doesn't work ` import pandas as pd import re import os FOLDER_PATH = r'C:\Users\project' list =…
0
votes
1 answer

php iconv character encoding from Thai ISO-IR-166 to utf-8 doesn't work

Why this line of code: $convertedChar = iconv('ISO-IR-166', "UTF-8", '¤'); returns "ยค" instead of "ค"? also $convertedChar = iconv('ISO-IR-166', "UTF-8", 'Á'); returns false instead of "ม".
0
votes
3 answers

Thai script seems to lose UTF-8 encoding in java for-each loop

I'm trying to develop an application within Android Studio on Windows 10. PROBLEM: The following string array of Thai words: String[] myTHarr = {"มาก","เชี่ยว","แน่","ม่อน","บ้าน","พูด","เลื่อย","เมื่อ","ช่ำ","แร่"}; ...when processed by the…
sacredfaith
  • 850
  • 1
  • 8
  • 22
0
votes
0 answers

Incosistent regex result for Thai characters across different PHP version

String is considered valid if contains alphanumeric and _ and - and Thai characters, otherwise invalid. Characters like . or @ are invalid. Based on the PHP documentation, the following regex should be working: ^[\w\-\p{Thai}]+$ It even seems to…
Tom
  • 316
  • 2
  • 9
  • 30
0
votes
1 answer

How to independently style a Thai letter positioned above another letter in Flutter?

My setup: Flutter v1.17.4, Mac OS X 10.15.4, locale en-US, Dart v2.8.4 In the Thai language, vowels can appear above and below consonants. In my Thai language learning app, I want to style a consonant differently than its associated vowel. Using…
devdanke
  • 1,309
  • 15
  • 27
0
votes
0 answers

Why cloudflare blocking access site when user enter thai language as input

We are working on exam based website. Admin will enter all questions required for exam. It need to support multiple languages. When we to submit question in thai language text cloudfare blocking access to server. This is happening when we enter thai…
user3404686
  • 131
  • 2
  • 10
0
votes
1 answer

Read Thai characters from IBM Emulator AS400 5250

I am trying to read thai characters from AS400 5250 IBM emulator using hllapi c# but code is unable to read thai characters. It can read english characters properly but thai characters are appearing blank in variable. Has anyone faced the similar…
0
votes
0 answers

What is the difference between IBM874 and MS874?

I am trying to add Thai Collation support in my driver and to do so, I need to use the appropriate character encoding. So after some research, I am left with the two options : Code page 874, which is also known as CP874 and IBM874 and Code page…
0
votes
1 answer

Code does not output Thai symbols, but Chinese works

When testing my test c++ code, the English and Chinese characters are displayed correctly, but the Thai characters lead to ???. I am using Visual Studio as IDE. This is my code #include using namespace std; int main() { std::cout…
DHsong
  • 19
  • 1
0
votes
0 answers

How to save Thai word into database table from a CSV file using java?

I have developed a java project where I have read a CSV file and inserted the record into a DB table using Java prepared statement. In the CSV file, there are some records where a column called "Name" have Thai name. The database is MSSQL Server.…
IB1990
  • 27
  • 3