The first idea that comes to mind is if the FTP program is attempting to transfer the file as binary rather than ascii. It would be weird for it to do that, but would be something to look into. Are you accessing the file using BBEdit's FTP open capability or a separate FTP program? The UTF-16 w/BOM could also be the culprit. I come across many programs that can't handle it, and maybe something goes astray in the transfer. I generally stick with UTF-8 w/o BOM, and I use Japanese and English together in my HTML documents.
-Kendall On Dec 13, 2:52 pm, Tomás García Ferrari <tomasgarciaferr...@gmail.com> wrote: > I am trying to understand a very odd behavior with a file open with BBEdit. > The problem is with an HTML file, done by scratch by myself and uploaded to > an FTP server. After a while, I have downloaded this file to my local machine > and when I open it with BBEdit it is scrambled and it only shows oriental > characters (I don't know if chinese or japanese…). > > Checking the file on the command line (with head, tail or vi), it is fine: > plain HTML, nothing odd there. > > So, far I have > > – scanned the file with an antivirus and seems to be clean… > > – check the encoding and it is Unicode (UTF-16, with BOM) > > What can be the origin of this problem…? Any suggestion…? > > Kind regards, > Tomás > > -- > Tomás García Ferrarihttp://bigital.com/ -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "supp...@barebones.com" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>