Name from NetSurf has underscores for percents
Is this a bug? If you open this link in NetSurf :- https://hu.123rf.com/photo_34178186_soil-grooves-farming-earth-soil-grooves-over-field-for-crop-planting-on-rural-countryside-farm-lands.html The webpage shows a JPEG of a ploughed field. Then if you menu>Object>Object>Save... and drag/drop the jpeg onto an application eg Artworks, ChangeFSI etc the load fails because the file name is not correct. (quoting Bernard Boase)- NetSurf has output the file name as 34178186-talaj-hornyok-mez_C5_91gazdas_C3_A1gi-earth-talaj-b ar_C3_A1zd_C3_A1k-f_C3_B6l_C3_B6tt-mez_C5_91-n_C3_B6v_C3_A9n y-_C3_BCltet_C3_A9si-a-vid_C3_A9ken-m/jpg but the underscores should be percent signs to code for letters with Hungarian diacritics in Unicode: 34178186-talaj-hornyok-mez_C5%91gazdas%C3%A1gi-earth-talaj-b ar%C3%A1zd%C3%A1k-f%C3%B6l%C3%B6tt-mez%C5%91-n%C3%B6v%C3%A9n y-%C3%BCltet%C3%A9si-a-vid%C3%A9ken-m/jpg whereupon it works into the apps. -- John Rickman
Re: Name from NetSurf has underscores for percents
In article <3a91789c56.j...@rickman.argonet..co.uk>, John Rickman wrote: > Is this a bug? No. It is a function of the RISC OS filer and the wimp message protocol. See my post in the ArtWorks maillist, where you also posted this message. -- Chris Johnson
Re: Name from NetSurf has underscores for percents
On 17 Nov 2017 John Rickman wrote: > Is this a bug? > If you open this link in NetSurf :- > https://hu.123rf.com/photo_34178186_soil-grooves-farming-earth-soil-gr > ooves-over-field-for-crop-planting-on-rural-countryside-farm-lands.htm > l > The webpage shows a JPEG of a ploughed field. > Then if you menu>Object>Object>Save... and drag/drop the jpeg onto > an application eg Artworks, ChangeFSI etc the load fails because the > file name is not correct. Different here. If I try to save that image into Transient's directory for today, I get: Transient: Message block is too big / not a multiple of 4 (code2484) If I drag it straight to DPlngScan, the image opens correctly, but I can't save it. The error message here is: Error from DPlngScan: Can't open SCSI::SSD.$.Utilities.Computer.Transient.Default.2017/11/17. I don't understand what any of that means! Best wishes, Peter. -- Peter Young (zfc Pt) and family Prestbury, Cheltenham, Glos. GL52, England http://pnyoung.orpheusweb.co.uk pnyo...@ormail.co.uk
Re: Name from NetSurf has underscores for percents
On 17 Nov, John Rickman wrote in message <3a91789c56.j...@rickman.argonet..co.uk>: > NetSurf has output the file name as > > 34178186-talaj-hornyok-mez_C5_91gazdas_C3_A1gi-earth-talaj-b > ar_C3_A1zd_C3_A1k-f_C3_B6l_C3_B6tt-mez_C5_91-n_C3_B6v_C3_A9n > y-_C3_BCltet_C3_A9si-a-vid_C3_A9ken-m/jpg > > but the underscores should be percent signs to code for letters with > Hungarian diacritics in Unicode: > > 34178186-talaj-hornyok-mez_C5%91gazdas%C3%A1gi-earth-talaj-b > ar%C3%A1zd%C3%A1k-f%C3%B6l%C3%B6tt-mez%C5%91-n%C3%B6v%C3%A9n > y-%C3%BCltet%C3%A9si-a-vid%C3%A9ken-m/jpg > > whereupon it works into the apps. Is % actually a valid character in a Fileswitch filename? It represents the CSD, and is included in the reserved characters list, so I'd suggest not. So NetSurf is correct to replace % with _ when saving to a RISC OS filing system. -- Steve Fryatt - Leeds, England http://www.stevefryatt.org.uk/