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
0
votes
1 answer

Dump csv with non latin characters into a mysql table

I want to create a sql table from a csv. Inside this csv I have a field 'first name' with some Thai characters, so I set the type as utf8 in my sql table. To dump the csv I'm using this command line: mysql -hlocalhost -uroot -p*****…
woshitom
  • 4,811
  • 8
  • 38
  • 62
0
votes
1 answer

Permutations of a string with thai characters in php

I was reading this thread: How to generate all permutations of a string in PHP? and I want to do the same thing but with Thai characters.. but all I'm getting is lots of weird characters. Must be something with the encoding? I am using UTF-8. Here…
joakim.g
  • 71
  • 1
  • 6
0
votes
2 answers

Regex returning inexplicable results (to me)

I want to return entries from a table that match the format: prefix + optional spaces + Thai digit Testing using ยก as the prefix I use the following SQL SELECT term FROM entries WHERE term REGEXP "^ยก[\s]*[๐-๙]+$" This returns 9 entries, 4 of…
Oswulf
  • 41
  • 3
0
votes
1 answer

Thai language wrongly displayed:

I have a file notfound.php which returns a list of available keywords in English and Thai. It contains meta http-equiv='Content-Type content='text/html; charset=tis-620'". Thai Language displays properly if I request the page using any of the…
0
votes
2 answers

Thai character display in phpmyadmin properly but not in front end

Last couple of hours i have tried hard but failed to come into a solution. why it's happening.... I have a table with collation=utf8_general_ci and it's column/field collation is also set to utf8_general_ci. i can see thai data properly from…
user1911703
  • 740
  • 5
  • 8
  • 24
0
votes
1 answer

What is the best font to use for Thai Language in Flex Mobile Applications?

I am facing issues with Thai language in flex mobile applications. I am using Tahoma font and facing issues in TextInput Whith Tahoma font text Offset setting to far from the starting of the text input . Can any one suggest me the best font to use…
Kamal
  • 11
  • 2
0
votes
2 answers

Unable to read thai characters from .properties resource file in java

I have a resource file (.properties file) which is having thai characters. When I read that file using the below code it is showing junk characters like "?" package RD1.Common; import java.util.Enumeration; import java.util.Locale; import…
Sandeep K Gujje
  • 43
  • 1
  • 1
  • 13
0
votes
1 answer

Unable to download Thai Characters in .TXT File Through servlet

Unable to download THAI characters in the .txt file using servler. When I click on download the THAI characters are shown in file as ??? and the file format generated is UNIX and FILE Type is ANSI. But I need to generate proper THAI characters as…
Sam....
  • 165
  • 2
  • 19
0
votes
1 answer

SOAP Response with Thai Characters

How can I have a SOAP Response with Thai Characters? In datasource, it is written as Thai characters but what i get from SOAP Response, are different set of symbols, i think it's an ASCII or something but not a thai characters.
-1
votes
1 answer

Jquery İnput Keyup Thai,Eng and Space Chacter

I want to define the input key up in English, Thai and a space character. Other characters will be deleted. $("#username").keyup(function () { if (this.value.match(/d/g)){ this.value = this.value.replace(/d+/g,''); } else { } }); Keyup:…
frankosa
  • 15
  • 6
-1
votes
3 answers

React Material-UI Textfield padding top - Thai Language

I'm use the library for input. But when use with Thai language, it need additional top padding to display word correctly as Thai has 2 level of vowel. For example, word like "ที่นั่น" will be cut on the top. Below is the code I use.
Tony TK
  • 21
  • 1
  • 5
-1
votes
1 answer

Foreign language not read correct in SQL

I have raw file with entry in Thai language " Yamato-Esulon (Thailand) Co.,Ltd (โรง 1)' but when i put that on SQL table it changes to 'Yamato-Esulon (Thailand) Co.,Ltd (Ó╣éÓ©úÓ©ç 1)' . I'm using datatype nvarchar(MAX). Has someone come across this…
-1
votes
2 answers

Thai characters not allowing more than 1333 characters from Java code

Thai characters not allowing more than 1333 characters from Java code.is there any possible way except using CLOB data type in db. we are using Oracle 11g.
mujafar
  • 9
  • 1
  • 5
-1
votes
2 answers

Thai - from mysql to php

I have a problem with displaying Thai text. I have looked on this forum and I have made sure that when exporting the text I saved it as a utf8 csv file. The table is set to utf8_unicode_ci and also the column that the text is held. I notice that…
-3
votes
2 answers

ruby: Translate thai datetime string to datetime object

I want to parse this Thai date: "15 พ.ค. 2017 12:30" into a DateTime object. How can I achieve this? What I've found out parsing November in different languages: ✅ DateTime.parse "Novembre" => Wed, 01 Nov 2017 00:00:00 +0000 ✅ DateTime.parse…