February 27, 201213 yr I have som difficulties to substitute Swedish characters from my files names. I want to clean up file names using the filename parameter in the SCSetContainer function. I found that when I fetch the swedish character "ä" from a variable populated using SCChooseFile it's not the correct character. Using Code is get 77600097 instead of 228 which it should be. Is this a limitation in the SuperContainer Plugin? Any suggestions? /Niklas
February 27, 201213 yr Did you try Char ( 77600097 )? It also returns ä. You can actually write ä in different ways in unicode, either as a single character (228) or as an a (00097) + an umlaut/dieresis (00776) = 77600097. I have no idea why SC uses one and not the other, but you could probably get around this by simply handling both?
February 27, 201213 yr Author Hi David! Yes, I figured this much out. And for a moments I thought I use the Char function to get the alternative "ä" (represented using 77600097) on screen, so to speak, then copy this character to the Substitute function. But FileMaker didn't get it. It wasn't substituted. What did I miss? How do I handle the more complex version of the "ä"?
February 28, 201213 yr Why don't you just do a Substitute ( $filename ; [ Char ( 77600097 ) ; "ae" ] ; [ Char ( 228 ) ; "ae" ] ) ? Or did you already try that?
Create an account or sign in to comment