On 07.04.06 16:40, Joost Kraaijeveld wrote: > I have to convert a PostgreSQL database from SQL_ASCII encoding to UTF8 > encoding. I use a text backup of that database with a file size of > 1682552521 butes that I feed to GNU recode. This goes wron with the > following error: > > recode latin1..utf8 wifi4all.backup > File size limit exceeded > > 1. Who determines that the file is to large: the OS or recode?
both, but I'd say it's recode in this case. The source file is ~1.6 GiB, the result will be over 2 GB. For files >=2GiB on 32bit architectures, programs nees to support largefiles, which recode probably does not. > 2. What can I do about this? for now you probably can instruct recode to send result to output and redirect it to output file. In such case, it's the shell who opens the output file and shells support largefiles now (afaik) Also, you can recompile recode with largefile support, or try iconv -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Support bacteria - they're the only culture some people have. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]