Article - CS38220

White "space" in a "Thumbnail File Name" is encoded as "%20" in FlexPLM

Modified: 08-Nov-2022   


Applies To

  • FlexPLM 9.2 to 12.0

Description

  • FlexPLM encode document file names that contain non-ASCII characters due to operating system limitations in recognizing non-ASCII character set
  • White space in a Thumbnail File Name is encoded as %20
  • Thumbnails are mostly generated in FlexPLM for certain objects
    • Products and Documents
  • File names that contain non-ASCII characters cannot be used for Thumbnail generation due to limitations in Windows and UNIX Operating Systems
  • It is required to convert file names to ASCII only characters so they are supported by Windows and Unix Operating Systems
  • Consider an Example File Name: Minnesota - Dec2010.png
    • This file will be stored on disk as Minnesota%20-%20Dec2010.png
  • When the file name is passed on the URL, the file name is read from the disk is encoded as:
    • Minnesota%2520-%2520Dec2010.png
      • Where %25 is the encoding for the percent (%) character
  • File name which contains space gets converted into underscore whenever file uploaded for Product Thumbnail
    • Example - File Name: Demo File Name.jpg
    • After upload - File Name: Demo_File_Name.jpg
This is a printer-friendly version of Article 38220 and may be out of date. For the latest version click CS38220