Jump to content

Encoding


This topic is 4463 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 "ä"?

Link to comment
Share on other sites

This topic is 4463 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.