<div dir="ltr"><a href="https://pmwiki.org/wiki/PmWiki/UploadVariables#UploadNameChars">https://pmwiki.org/wiki/PmWiki/UploadVariables#UploadNameChars</a><div><br></div><div><br></div><div>From the page</div><div><dd style="margin-left:40px;color:rgb(0,0,0);font-size:15px">The set of characters allowed in upload names. Defaults to <code class="escaped" style="font-size:14px;font-family:"Lucida Console","Andale Mono","Courier New",Courier,monospace;max-width:100%;overflow:auto;white-space:pre;display:inline-block;vertical-align:bottom">"-\w. "</code>, which means alphanumerics, hyphens, underscores, dots, and spaces can be used in upload names, and everything else will be stripped.</dd><dt style="color:rgb(0,0,0);font-size:15px"></dt><dd style="margin-left:40px;color:rgb(0,0,0);font-size:15px"><a class="gmail-varlink" href="https://pmwiki.org/wiki/PmWiki/UploadVariables#UploadNameChars" style="text-decoration-line:none"><code class="gmail-varlink" style="font-size:14px;font-family:"Lucida Console","Andale Mono","Courier New",Courier,monospace">$UploadNameChars</code></a> = "-\\w. !"; # allow dash, letters, digits, dots, spaces and exclamations</dd><dt style="color:rgb(0,0,0);font-size:15px"></dt><dd style="margin-left:40px;color:rgb(0,0,0);font-size:15px"><a class="gmail-varlink" href="https://pmwiki.org/wiki/PmWiki/UploadVariables#UploadNameChars" style="text-decoration-line:none"><code class="gmail-varlink" style="font-size:14px;font-family:"Lucida Console","Andale Mono","Courier New",Courier,monospace">$UploadNameChars</code></a> = "-\\w. <span style="background-color:rgb(255,242,204)">\\x80-\\xff</span>"; # allow <span style="background-color:rgb(255,242,204)">Unicode</span></dd><dt style="color:rgb(0,0,0);font-size:15px"></dt><br class="gmail-Apple-interchange-newline"></div><div>Isn't <font color="#000000"><span style="font-size:15px"><span style="background-color:rgb(255,242,204)">\\x80-\\xff</span>  just extended ASCII?</span></font></div><div><span style="color:rgb(0,0,0);font-size:15px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:15px"><br></span></div><div><br></div><div><br></div><div>I'm trying to do this with no effect</div><div><br></div><div>  $UploadNameChars = "-\\w. !=\\+#<span style="background-color:rgb(255,255,0)">\\x{014C}\\x{014D}</span>"; # allow exclamations, equals, plus, and hash <span style="background-color:rgb(255,255,0)">Ōō</span><span style="background-color:rgb(255,255,255)"><br></span></div><div><span style="background-color:rgb(255,255,255)"><br></span></div><div><span style="background-color:rgb(255,255,255)">any advice appreciated</span></div><div><span style="background-color:rgb(255,255,255)"><br></span></div><div><span style="background-color:rgb(255,255,255)">thanks</span></div><div><span style="background-color:rgb(255,255,255)"><br></span></div><div><span style="background-color:rgb(255,255,255)">Simon</span></div><div><span style="background-color:rgb(255,255,255)"><br></span></div><div><br></div></div>