Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » WSTRING data input(WSTRING data input in UTF16 format)
WSTRING data input [message #1742778] Wed, 07 September 2016 14:20 Go to next message
yuvaraj velumani is currently offline yuvaraj velumaniFriend
Messages: 15
Registered: April 2016
Junior Member
How to input a original wstring data input. Say I have a wstring L"\\??\\C:\\Windows\\system32\\tzres.dll" or b'U\x00\x07\x00C\x00o\x00u\x00p\x00o\x00n\x001'.

I also found on source code that all WSTRING data inputs are converted into UTF8 form in fromString function call. Shouldn't this to be UTF16 form?
Re: WSTRING data input [message #1742886 is a reply to message #1742778] Thu, 08 September 2016 12:28 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1584
Registered: January 2014
Senior Member

The wstring literals follow the rules from IEC 61131-3, which I don't fully remember. The only thing that I know is that the $ sign is used for escaping hex codes of characters.

Previous Topic:Missing modules
Next Topic:How to program x ^ y in Structured Text
Goto Forum:
  


Current Time: Wed Apr 24 17:46:24 GMT 2024

Powered by FUDForum. Page generated in 0.02836 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top