Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1060

Getting the string length on UTF-8 in C? [closed]

$
0
0

Can this be done using a method similar to this one:

As long as the current element of the string the user input via scanf is not \0, add one to the "length" int and then print out the length.

I would be very grateful if anybody could guide me through the least complex way possible as I am a beginner.


Viewing all articles
Browse latest Browse all 1060

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>