On Apr 10, 2009, at 12:45 PM, Fritz Anderson wrote: > I wrote the following before I solved my problem by other means (I > fixed the encoding on my input file), but I'm still curious. > > I wrote a Ruby script to translate a CSV file to an XML-format > property list file. At my first pass, I specified an encoding of > "UTF-8". This did not pass muster with plutil; it expected UTF-8, but > it detected some invalid characters. > > So, being too lazy to fix my Ruby (assuming a Ruby fix is possible), I > emitted an encoding of "ASCII" instead. This satisfied plutil, and > the .plist was clean. > > However, BBEdit would no longer open the file. "One or more characters > were encountered that cannot be represented in the desired text > encoding (MacOS Error code: -8754)" TextMate would open the file, but > I prefer to edit .plist files in BBEdit. > > What could I have done?
Without seeing the file in question, I can only provide speculation. If you still have, or can produce a file, as described above, sent it (zipped to prevent further mangling in transit) to [email protected] along with any steps to reproduce the problem and we'll take a look. Jim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a specific feature request or would like to report a suspected (or confirmed) problem with the software, please email to "[email protected]" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---
