REBOL 3.0

Comments on: Meaning of TO-LOCAL-FILE

Carl Sassenrath, CTO
REBOL Technologies
28-Mar-2008 23:58 GMT

Article #0121
Main page || Index || Prior Article [0120] || Next Article [0122] || Post Comments || Send feedback

For R3 Unicode, we need to more precisely define a few functions. One of those is to-local-file -- used to convert file names from REBOL format to the local OS format.

Specifically, if we want to-local-file to return a string (given a file datatype), then that string remains in REBOL's internal format, not the OS native format (e.g. wide-chars on Win32 and UTF8 on Linux).

So, when we say to-local-file we only mean the higher level conversion of the string, not the lower level encoding of the filename. That encoding must occur later, such as when the file is opened for read or write.

Post Comments

Post a Comment:

You can post a comment here. Keep it on-topic.

Name:

Blog id:

R3-0121


Comment:


 Note: HTML tags allowed for: b i u li ol ul font span div a p br pre tt blockquote
 
 

This is a technical blog related to the above topic. We reserve the right to remove comments that are off-topic, irrelevant links, advertisements, spams, personal attacks, politics, religion, etc.

REBOL 3.0
Updated 13-Dec-2017 - Edit - Copyright REBOL Technologies - REBOL.net