Cfhttpparam file name with utf-8 chars

I’m getting issues with trying to send file using this tag when the file name contains umlaut or other no Latin chars… I added charset to the cfhttp tag and tried setting the mimetype in the in param tag. Wireshark is picking up the filename as scrambled. Any suggestions thanks?

@kpetrow Please always mention your lucee version.
Adding <cfprocessingdirective pageEncoding="utf-8"> helps?
OR
can you please provide some example code to replicate the issue and the filename which you have faced issue?

I would consider trying urlEncode() for the filename when putting it in the param.

That said, can you define what ‘issues’ you’re getting?

And as Mithra suggests code and filename examples might help elucidate a solution.

HTH

– Denny

Well ran into same issue again today. VERSION 5.4.3

<cfhttp
            url = "....holes/2_0_0"
            method = "post"
            port = "55555"
            result = "result"
			timeout = "120"
			charset = "utf-8"
        >
			<cfhttpparam
                        type = "file"
                        file = "C:/longPath/K422 Prøveboring-data_B.txt"
                        name = "filetosend.txt"
                    >
        </cfhttp>

are urls not utf-8 encoded? This might be an issue with how content disposition is encoded not how lucee encodes it?