Beginner
Date of registration: Feb 27th 2014
Location: Supanburi ,Thailand
Occupation: Agric Chemical Seller
Hobbies: learning programming and English
Beginner
Date of registration: Feb 27th 2014
Location: Supanburi ,Thailand
Occupation: Agric Chemical Seller
Hobbies: learning programming and English
So you need to be able to display Unicode characters, like the ones hereMy coding I need to show Thai langauge in order that any Thai developers can read my sourcecode.
Beginner
Date of registration: Feb 27th 2014
Location: Supanburi ,Thailand
Occupation: Agric Chemical Seller
Hobbies: learning programming and English
Yes, I understand. So, what you're trying to do, is be able to display a Messagebox, with Thai characters."Translate Jabaco into yout native langauge" it helps me to change only userinterface,but can't helps this problem. However,I have translated some my native language(still not finished).
Beginner
Date of registration: Feb 27th 2014
Location: Supanburi ,Thailand
Occupation: Agric Chemical Seller
Hobbies: learning programming and English
This post has been edited 2 times, last edit by "Theera" (Mar 14th 2014, 3:10am)
My problem is not about how to coding for translation,but it 's about Jabaco directly. Why doesn't it display Thai characters in IDE of Jabaco. (Msgbox isn't concerned about this) Please consider my sourcecode attached at the Private Function ThaiMonth(imonth As String) As String.
P.S. The ThaiCalendar.jba file is attributed to read-only for any changed protection
I'm having a similar problem, displaying characters in the ide, and can't figure out how theuserbl did it.
If you have all translated, please upload it, so that it can be uploaded to svn, so that other users in thailand, could using the language-filke, too."Translate Jabaco into yout native langauge" it helps me to change only userinterface,but can't helps this problem. However,I have translated some my native language(still not finished).
I have looked at your program. That should be working. But it don't. :-(My problem is not about how to coding for translation,but it 's about Jabaco directly. Why doesn't it display Thai characters in IDE of Jabaco. (Msgbox isn't concerned about this) Please consider my sourcecode attached at the Private Function ThaiMonth(imonth As String) As String.
P.S. The ThaiCalendar.jba file is attributed to read-only for any changed protection
I'm having a similar problem, displaying characters in the ide, and can't figure out how theuserbl did it.
I haven't done it.
I have only written the "happy holidays"-code in the forum with the help of the google-translater, in the hope, that it will work in Jabaco.
The reason, why the menu of Jabaco supports unicode and the textarea of Jabaco not, is which components they are.
Jabaco 1.5.2 is written in VisualBasic 6 with some external DLLs, which are written in VisualC++.
The Menu of Jabaco with some buttons and so on, are using the Codejock-components (http://www.codejock.com/), which seems to support Unicode. They also supports themed controls. Controls, which comes with Visual Basic 6, on the other side, have an Windows 2000 look.
The textarea in Jabaco is based on Scintilla (http://www.scintilla.org/). On the Sintilla side stands, that Unicode is supported, if it is in the sourcecode of the own program activated. So it seems, that Manuel have not activated it for Jabaco. It is also for me currently not clear, how an unicode-file created in Scintilla will be saved. Currently in the Jabaco-editor every character have the size of one byte. With Unicode that will not be possible.
In Java-class files, UTF-8 is used for strings. That means, that standard-ASCII characters are one byte long. Others are two byte long and some are three bytes long. If your sourcecode is not UTF-8, strings will be converted from the Java-compiler to UTF-8.
Microsofts .NET on the other hand, using UTF-16 internally. So every character is at minimum two bytes long.
Greatings
theuserbl
It doesn't. I have only written the source in the webbrowser as comment. I have also seen, that all characters of thai are replaced with "?". But I thought at this time, that I haven't the right font installed and thai-people, who have the font installed, could see it.But I'm still confused, as to how your source is actually displaying unicode characters.
Jabaco Source |
|
1 2 |
sUnicodeMessage = ChrW( 3626 ) & ChrW( 3623 ) & ChrW( 3633 ) & ChrW( 3626 ) & ChrW( 3604 ) & ChrW( 3637 ) MsgBox sUnicodeMessage |
It doesn't. I have only written the source in the webbrowser as comment. I have also seen, that all characters of thai are replaced with "?". But I thought at this time, that I haven't the right font installed and thai-people, who have the font installed, could see it.But I'm still confused, as to how your source is actually displaying unicode characters.
Since this thread I know, that the font is installed on my computer, too. But Jabaco have not on all parts support of it:
The Jabaco menu support Unicode (look at the screenhsot of Theera)
The Jabaco designer support unicode, too.
The Jabaco 1.5.2 editor-area (based on Scintilla) doesn't support unicode.
And I now know (because I have looked, to what .class files Jabaco 1.5.2 compiles the program in Lesson5_ThaiCalendar.zip) that the current Jabaco-compiler don't support unicode, too.
And in the framework, the current ChrW() don't support unicode. That is the reason why your mentioned program don't work.
And I am currently trying to bring it to work. But it needs still some time.
When I have fixed the framework-bug, your programwill be running correct.
Jabaco Source
1 2 sUnicodeMessage = ChrW( 3626 ) & ChrW( 3623 ) & ChrW( 3633 ) & ChrW( 3626 ) & ChrW( 3604 ) & ChrW( 3637 ) MsgBox sUnicodeMessage
Greatings
theuserbl
Hi,
I am new to jabaco and am trying to write a programme where i have to display characters from arabic and urdu languages. But when i try to populate any control after processing string inputs of other language in this case urdu the out put is "?" A question mark. Any help please.
Hi,
I am new to jabaco and am trying to write a programme where i have to display characters from arabic and urdu languages. But when i try to populate any control after processing string inputs of other language in this case urdu the out put is "?" A question mark. Any help please.