- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The 2003 features list says the Encoding= option is available for Inquire and Open statements.
But what does it do? When I've tried it for Inquire -- all I get is UNKNOWN, regardless of file type.
Linda
But what does it do? When I've tried it for Inquire -- all I get is UNKNOWN, regardless of file type.
Linda
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On OPEN of a unit for formatted input/output, ENCODING allows you to specify that the file is a UTF-8 (UNICODE) file, if the "processor" supports that, which ours does not at present. On INQUIRE, it asks what the encoding is if it's readable from the file, which on Windows I don't think it is. The only value we support at present is 'DEFAULT'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
On OPEN of a unit for formatted input/output, ENCODING allows you to specify that the file is a UTF-8 (UNICODE) file, if the "processor" supports that, which ours does not at present. On INQUIRE, it asks what the encoding is if it's readable from the file, which on Windows I don't think it is. The only value we support at present is 'DEFAULT'.
Two questions:
1) do other platforms (Mac, Linux) have the ability to tell the encoding? (I'm getting a return of UNKNOWN on Windows, regardless of type, I think).
2) is there a way to read unicode files given that we could detect them?
Linda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not that I know of.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page