Parsing D files with non-unicode characters

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Nov 6 18:03:56 UTC 2018


On Tue, Nov 06, 2018 at 05:21:13PM +0000, Jonathan Marler via Digitalmars-d wrote:
> On Monday, 5 November 2018 at 23:50:46 UTC, Arun Chandrasekaran wrote:
> > I'm converting a large amount of header files from C to D using
> > DStep and I'm stuck at
> > https://github.com/jacob-carlborg/dstep/issues/215
> > 
> > https://dlang.org/spec/intro.html shows that ASCII and UTF char
> > formats are accepted. How do I go about converting a large code base
> > like this?
[...]

If you're on Linux, you could use the recode utility:

	https://github.com/rrthomas/recode/


T

-- 
The easy way is the wrong way, and the hard way is the stupid way. Pick one.


More information about the Digitalmars-d mailing list