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
3 answers

How to get the current date time of thailand using C#

I am creating an app for thailand using Xamarin form. There I need to fetch the current date time of thailand. As I am developing the app from India, my api calls (which are dependent on Datetime) are getting failed. I am trying to get the current…
Mili
  • 65
  • 1
  • 5
0
votes
1 answer

How to pass parameters thai language in codeigniter

Thai characters are showing on the front end I am trying to echo parameter วอลเปเปอร์ received from URL in Codeigniter but when I echo it shows %E0%B8%A7%E0%B8%AD%E0%B8%A5%E0%B9%80%E0%B8%9B%E0%B9%80%E0%B8%9B%E0%B8%AD%E0%B8%A3%E0%B9%8C My config…
irfan
  • 39
  • 7
0
votes
0 answers

Export table to Excel have both < U+F70A> string and Thai string in r

I have used pdf_text to read pdf file and split for making them to the table This is my code and the result (have many < U+F70A> instead of some characters in my language) : result > txt14_16 <- pdf_text(".pdf") > data<-(txt14_16[100]) > df <-…
0
votes
1 answer

SQL Server Parsing Thai Language Full Name to First Last

I have a unique issue. I've worked a long time with SQL Server. We import a file into SQL Server that includes Full Name. All I need to do is parse the full name into First and Last. If the name is English character set, my parse works fine. …
Mark
  • 53
  • 6
0
votes
1 answer

Categorizing this Thai character using the .NET framework

I'm trying to parse some Thai text according to the rules explained here http://www.thai-language.com/ref/spacing Basically, I want to find strings of characters between whitespace and punctuation similar to how we would do in English. I realise…
Jim W
  • 4,866
  • 1
  • 27
  • 43
0
votes
1 answer

How to query_string with multiple condition?

I have query code like this. { "query": { "query_string" : { "query" : "content_normalization:*ชื่นชม*" } } } And I cannot use "match" in thai language (I don't know why). I want to search in one field which…
Papadoojha
  • 15
  • 1
  • 6
0
votes
0 answers

mbsrtowcs succeeds, but how to print char by char

I'm on Mac OS X, using clang++ 6.0. I can print an std::string of Thai characters to my console. I can convert it to an array of wide characters using mbsrtowcs(). But printing character by character shows only question marks '?'. I must not…
user9987379
0
votes
1 answer

Thai character issues in unicode string

I have a string with few characters in Thai. This string is using unicode characters. But I don't see thai characters in IDE or even if I write the string in text file. If I want to see thai characters properly I have to write the following code …
parag
  • 2,483
  • 3
  • 20
  • 34
0
votes
1 answer

UnicodeDecodeError when tokenizing Thai language text in Python

I am trying to tokenize thai language text using deepcut in Python and I am getting UnicodeDecodeError. This is what I have tried import deepcut thai = 'ตัดคำได้ดีมาก' result = deepcut.tokenize(thai) Expected…
Cryssie
  • 3,047
  • 10
  • 54
  • 81
0
votes
2 answers

Encoding error for Thai Language with curl php

I m trying to curl this page and put the result in a HTML page. I used this code: $url= "https://web.archive.org/web/20160202021236/http://www.mpshopfashion.com"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); …
mohamed
  • 173
  • 2
  • 2
  • 14
0
votes
0 answers

How to properly write thai/malaysia language characters in xml using php?

I am working on a project where I have to send data to API through xml. Its basically a SOAP based API, its working fine with the English language but when i try to send thai characters it does not work. Thai characters converted to "????...". I am…
Alok
  • 297
  • 3
  • 13
0
votes
1 answer

Backspace key does not delete Thai vowels on webview's Html text input

I am using Android Studio 2.1.1. I open a local html file with an input of type text in my webview. I found that the backspace key of the dynamic keyboard does not delete any of the Thai vowels which are either over or under a consonant letter.…
tjkh
  • 1
  • 1
0
votes
1 answer

Laravel localization shows unknown characters in Thai

I am translating all my messages to thai aside from en-us. Now I have encountered a problem that an Unknown Question mark character shows up. The code: {!! trans('messages.client_dashboard') !!} The expected result: แดชบอร์ดลูกค้า The result:…
Reyn
  • 757
  • 1
  • 5
  • 16
0
votes
1 answer

How do I manipulating CSVs containing unicode (Thai) characters using bash?

I've got an Adwords dump containing Thai keywords which I'll use for a join with data from another DB. In theory, I grab the file, snip off the useless lines at the top and bottom, clean it up a little and upload it to PostgreSQL as a new table.…
crdb
  • 31
  • 6
0
votes
1 answer

Qt: Unicodes / Utf-8 in QString takes for ever (12 minutes) to display on a controller

I'm doing a multilanguage application with Qt, in Eclipse/Linux. In thai, the line breaks don't seem to be well supported on my controller (I'm still not sure why). Anyway, the following algorithm inserts a zero-width space (\u200b) between each…
Benjamin
  • 53
  • 8