From: Tuukka Lehtonen Date: Wed, 14 Jun 2017 16:22:30 +0000 (+0300) Subject: Added URIUtil.encodeFilename2 which encodes only necessary characters. X-Git-Tag: v1.31.0~321 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=75809ec96a58c23cc89131637fbc65435ac482af;hp=75809ec96a58c23cc89131637fbc65435ac482af;p=simantics%2Fplatform.git Added URIUtil.encodeFilename2 which encodes only necessary characters. The new method uses the same '%' URI style encoding as URIUtil.encodeFilename but encodes only characters that cannot be present in Windows file names, i.e. the following: <>:"/\|?* This method can be used to convert arbitrary user-given names to valid file names in wizards etc. refs #7301 Change-Id: Ia7e264e5304ff0533376c73f5ae9312e197ccf15 ---