Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Do file encoding/REDCap do files

    Dear all,

    REDCap is a database environment gaining popularity in medical research. It also has the handy functionality that it returns a do file for use with the csv containing the data when you create an export.

    I am currently working on a project where labels defined in this do file are in French. Unfortunately stata doesn't seem able to interpret characters such as é, despite the characters appearing to be fine when the do file is viewed in notepad or notepad++ etc. in Stata é appears as é.

    It appears to me that stata is trying to read the data using ASCII or something rather than the UTF-8 in which it is encoded. (Incidentally, replacing the characters in stata with the appropriate French character works, but there are a lot of different characters) I imagine that the same problem would arise with German and many other character sets...

    I was wondering whether anyone has had any experience with such encoding issues.


    Many thanks in advance

    Alan Haynes



Working...
X