Forum OpenACS Development: Re: cr_write_content and utf-8

Collapse
Posted by Dave Bauer on
Why don't you use file copy instead?

This seems quite overly complex to copy a CR file that is already stored in the filesystem.

I don't understand the issues with converting to a string. I suspect if you have a non-text file read into a string, you have to keep it as binary.

Collapse
Posted by Brian Fenton on
Thanks for the reply. I can't use file copy as the files may be stored in the database, so I have to code in a way that covers both cases.