Apex

Salesforce force.com site path case sensitive

A site consists of 3 components: The Force.com domain name that uniquely identifies your specific organization (case insensitive) The path identifies the specific site (case sensitive) A Visualforce page that is associated with your site (case insensitive) the path in the example:  locations  is case sensitive, here is a solution Read more…

Apex

visualforce page contentType Excel file name chinese 文件名 中文

Using URL encoding 1. File name in Controller

 2. File name in vf page

Reference: https://tools.ietf.org/html/rfc5987     page.5  -> 3.2.2. Examples URL Decoder/Encoder: https://meyerweb.com/eric/tools/dencoder/