help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Problems with file encoding


From: Fritz Fischer
Subject: Fwd: Problems with file encoding
Date: Fri, 13 May 2011 10:37:31 +0200



---------- Forwarded message ----------
From: Fritz Fischer <address@hidden>
Date: 2011/5/13
Subject: Re: Problems with file encoding
To: Jordi GutiƩrrez Hermoso <address@hidden>


For now I use a workaround script that I found it somewhere in the web
to convert all files in a folder to ANSI, which is supported by Octave:

---

@Echo Off
echo UniCode to ANSI converter for TXT.
md ~ANSI
for %%a in (*.txt *.?txt?) do type "%%a">"~ANSI\%%a"
for %%a in (*.txt *.?txt?) do attrib -r -h -s "%%a"
cd ~ANSI
for %%a in (*.txt *.?txt?) do move /y "%%a" ..
cd..
rd ~ANSI

---



reply via email to

[Prev in Thread] Current Thread [Next in Thread]