Entering emojis may or may not divide (decompose into two characters).
I think it depends on the web service and application I use, but how does it break up?
I just happened to try Sublimte Text and found that the editor had one character emoji as shown in the attached image, but the title (file name?) part was divided into two characters.
I would like to know the reason why it is simply divided.
I'm also asking because I want to get rid of the vague fear that something might go wrong when using string determination (e.g., simple string determination (if statement) or regular expression) or saving it to the database.
unicode
Are you using Apple's HFS+ for your file system?
Apple's HFS+ is called NFS (for example, "bu" is written in two characters on the file system: f(U+30D5)+°(U+309a).
The opposite of NFD is called NFC, and the pu is expressed as a single character (U+3D07).
I think that the question is written by dividing the emoji characters.
If the above is Apple's file system issue, the inside of the file should not be comparable because NFC and NFD are written as intended (basically NFC) by the file creator.
© 2024 OneMinuteCode. All rights reserved.