Jump to content
Server Maintenance This Week. ×

BE_writeTextToFile CRLF issue


This topic is 3227 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello,

Because of several Java issues I want to use the Baseelements plugin iso ScriptMaster by 360works. But when writing files with BE_writeTextToFile on a Mac I can write data with CRLF, CR or LF, on Windows (7) however I get CRLF whatever I put in the data. Is there a solution for this?

 

 

TIA

 

 

 

 

Link to comment
Share on other sites

  • Newbies

What I do is simply 

Set Variable: [ $text ; "a line of text" & char(10) & "another line of text" ]

Set Variable: [ $set ; BE_writeTextToFile ( $path ; $text ) ………

When I open the file with a hex edtor char(10) has become char(13) + char(10)  ( 0D0A )

 

 

Link to comment
Share on other sites

This topic is 3227 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.