1 year ago

#380831

test-img

InPanic

CSV import produces encoding problem in Stata

I have a problem regarding the import of a CSV file. The following code produces an encoding problem with the "*" sign (asterisk), even though in the provided data sample of the variable looks fine.

import delimited using `file', case(preserve) stringcol(_all) encoding(utf8) clear

I first tried it without the encoding(utf8) part, thinking that with Stata 16 that is not necessary any more. However, in both cases, with or without , I get the little question marks instead of the asterisk.

Has anybody an idea what could cause the problem and how I can fix it?

Tools which I use in the work flow: Stata 16 Ultraedit (standard encoding on ANSI Latin I)

stata

0 Answers

Your Answer

Accepted video resources