Closed valera-rozuvan closed 8 years ago
Technically, the rest of the project is already in UTF-8. In fact, it is (or should be) in ASCII (only English caracters).
@juliena82 Not everything.
$ file -bi ocvdemo/src/ocvdemo.cc
text/x-c; charset=iso-8859-1
I said technically, meaning there are ASCII up to my knowledge. Your test show that there is (at least) an invalid chararacter in this file. Since you have the tools, can't you locate it and fix it?
@juliena82 OK. I will do it. Some french characters are present in the source. For example:
// Image / vidéo par défaut
I will convert all of the files to UTF-8, and push this change to GitHub.
@valera-rozuvan Yes, but now that I think about it, there still may be some ISO8859 files in libcutil/data. Please don't touch touch them for now, I still use them for other projects, and in case, it breaks something, I want to do the things safely.
@juliena82 OK. I will not touch the libcutil/data files.
Thanks
@juliena82 In the libcutil/data folder, only the *.xml
files should be converted to UTF-8? Right?
@juliena82 To be more precise:
libcutil/data/model-editor-config-schema.xml
libcutil/data/std-lang.xml
libcutil/data/std-schema.xml
libcutil/data/view-schema.xml
@juliena82 Before committing my changes, I will show you them to you. To be sure I don't screw up anything = )
Fix for this issue is in Pull Request https://github.com/tsdconseil/opencv-demonstrator/pull/16.
I mean the files in libcutil/data should not be touched for now.
@juliena82 OK. I will remove them from my Pull Request https://github.com/tsdconseil/opencv-demonstrator/pull/16/ .
The XML files are in UTF-8 now (this was done as part of issue #5). We can proceed to to converting the rest of source files to UTF-8.