title: What is the difference between _tcslen and _tcsclen?
body: <p>I develop an application who has to be compatible with different charsets encoding. To do that, I always use <code>TCHAR*</code> instead of <code>char*</code> to define strings. Therefore I use <code>_tcslen</code> to get the size of my strings.</p>
  
  <p>Today, I saw on the versioning system of my company that one of my workmate edited the line where I wrote <code>_tcslen</code> to use <code>_tcsclen</code> instead.</p>
  
  <p>The only link I found who is talking about the particularity of this function is <a href="https://msdn.microsoft.com/en-us/library/78zh94ax.aspx" rel="nofollow noreferrer">this one</a> and it doesn't explain the difference between those functions.</p>
  
  <p>Can someone explain me the difference between <code>_tcslen</code> and <code>_tcsclen</code>?</p>