Answers.Body: <blockquote>
    <p>Since the slug is used to generate assets folders, accents aren't suitable and results in question marks in the folder names.</p>
  </blockquote>
  
  <p>You could do something similar to <a href="https://craftcms.stackexchange.com/questions/28257/how-to-rename-filename-of-asset-before-or-after-upload-in-craft-3">How to rename filename of asset before (or after) upload in Craft 3</a> in a plugin except you run the folder name through the same ASCII normalization process that auto-generated slugs go though.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-06T18:34:33.010Z
Answers.LastActivityDate: 2018-11-06T18:34:33.010Z
Answers.UserDisplayName: Brad Bell
Body: <p>I currently have auto-generated titles that contains accents and so does the slugs.</p>
  
  <p>Since the slug is used to generate assets folders, accents aren't suitable and results in question marks in the folder names.</p>
  
  <p>I was hoping that limitAutoSlugsToAscii would answer this problem but it only affects the javascript for dynamically generated slugs.</p>
  
  <p>Is there a simple way to achieve this ?</p>
  
Tags: <craft3><slug><titles><auto-generate>
Title: Limit slugs to ASCII for auto-generated titles
ThreadText: # Limit slugs to ASCII for auto-generated titles
  
  (Asked by: username_0 on 2018-11-06)
  
  I currently have auto-generated titles that contains accents and so does the slugs.
  
  Since the slug is used to generate assets folders, accents aren't suitable and results in question marks in the folder names.
  
  I was hoping that limitAutoSlugsToAscii would answer this problem but it only affects the javascript for dynamically generated slugs.
  
  Is there a simple way to achieve this ?
  
  **Tags:** craft3, slug, titles, auto-generate
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-11-06. Score: 1 | Accepted answer
  
  > Since the slug is used to generate assets folders, accents aren't suitable and results in question marks in the folder names.
  
  You could do something similar to [How to rename filename of asset before (or after) upload in Craft 3](https://craftcms.stackexchange.com/questions/28257/how-to-rename-filename-of-asset-before-or-after-upload-in-craft-3) in a plugin except you run the folder name through the same ASCII normalization process that auto-generated slugs go though.
  
  
  ---
  
  