When fscanf(fp,"%f,",&fval); is not working

When read text file like filter constant file,

I usually use fscanf(fp, "%f", &fval);. But Today, it is not working at all.

So, I spent whole 5 hrs then found that text file is encoded UTF-8.

So, I save as ASCII text file then it works like a charm.


Comments

Popular posts from this blog

[VS2010][VS2015] "stdafx.h 을 포함 소스를 찾을 수 없습니다" 에러 해결법