I need a function to determine columns needed for a wide-character string in different OS. In glibc there is a function wcswidth
. It doesn't seem to be available in Windows.
Are there alternatives to it in Windows that I can use? Or maybe there are already available some cross-platfrom standard funcions to do it?