RTC Forums
April 29, 2024, 11:43:25 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: 1 [2]
  Print  
Author Topic: Unicode  (Read 10027 times)
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #15 on: March 24, 2011, 12:02:17 PM »

When I do not use the UTF8Encode/Decode it does not work.
That must mean that my string is not unicode?

Correct. If your file isn't encoded in the format you are expecting, decoding file contents into Unicode String won't work and you will get wrong results.

You assign the myStr.Test to myUnicode.
Do you mean it is not possible to assign myStr.text directly to myVar.asText ?

You should also be able to assign "myStr.text" directly to "myVar.asText". I was using a String variable "myUnicode" so you can check its contents and compare the results.

Best Regards,
Danijel Tkalcec
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #16 on: March 24, 2011, 12:08:29 PM »

If you are still having problems assigning Unicode Strings to "asText" parameters on the Server and getting Unicode Strings back from "asText" parameters on the Client (or vice-versa), then I will need an example Client and Server project which demonstrate that behavior, so I can test this and see what is happening there.
Logged
Ronald van Tour
RTC License++
*****
Posts: 37


« Reply #17 on: March 24, 2011, 05:58:38 PM »

It works now but I will mail you server and client ( in a few weeks ).
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.023 seconds with 16 queries.