MounRiver encoding from UTF-8 to Windows 1251 code page

How do I configure MounRiver to provide conversion from UTF-8 to Windows 1251?

I am trying to do this, but the compiler gives an error "cc1.exe: error: no iconv implementation, cannot convert from UTF-8 to cp1251".


Maybe this requires gcc with libiconv.........

Do you have any Windows 1251 character in program such as string? If yes, maybe replace them by escaped style(for example, GBK "烫" has code 0xcccc, so replace with "\xcc\xcc") could solve.


Hello g.

You can change the Compiler to GCC12 ,then use the compile flags "-finput-charset=UTF-8 -fexec-charset=CP1251".

image.pngimage.png


I downloaded "MounRiver Studio_Community Version: v1.70" from mounriver.com and can't see "RISC-V Compiler" choosing option.

"

icon_jpg.gifMounRiver_compiler.jpg

MounRiver_compiler.jpg


You need the latest version V1.92 not community version.

V1.92 is also free of charge.


The lastest version of MRS is MounRiver Studio v1.92, which supports the above features.
You can download it from this link: http://www.mounriver.com/download, free to download and use.


只有登录才能回复,可以选择微信账号登录