02 January 2023, 18:04 | #41 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,293
|
There's already UTF-8 support in filesysbox.library, which is why I asked for some example file names to easier testing.
|
02 January 2023, 18:07 | #42 |
Amiga is my Religion
Join Date: May 2005
Location: Germany
Posts: 578
|
|
02 January 2023, 18:09 | #43 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,293
|
That's a known issue, as ? is used internally as a string separator. You can use the PASSWORD argument instead as a workaround.
|
02 January 2023, 18:32 | #44 |
Registered User
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
|
Download LimpidClock, extract the Archive and copy the locale files to a share
http://aminet.net/package/util/wb/limpidclock |
02 January 2023, 18:34 | #45 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,293
|
Thanks. Should I try copying those files from the share or to the share?
|
02 January 2023, 18:44 | #46 |
Registered User
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
|
to the share… From the share I didn‘t tested right now
|
02 January 2023, 18:52 | #47 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,293
|
I was able to reproduce this, I'll look into what causes the problem.
|
03 January 2023, 08:41 | #48 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,293
|
While filesysbox.library comes with UTF-8 support, it assumes that the underlying system can cope with UTF-8 strings, which is not the case for "classic" AmigaOS. To make it worse, there's no system-wide character set setting. This is why codesets.library has to do all the guesswork based on the system language and environment variables.
Fortunately ISO-8859-1 <-> UTF-8 conversion is relatively simple and fast, so I'll implement this in the handler. Of course this is not a 1:1 conversion as not every UTF-8 character can be represented in Latin-1, but it'll work for most users. |
03 January 2023, 10:00 | #49 |
Banana
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,214
|
This is premium-level technical support
|
04 January 2023, 00:41 | #50 | |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
Hi BSzili!
Quote:
I cannot give you filenames in Cyrillic or others here because EAB actually only accepts Latin characters but let me know if you want some, I could send them to you by e-mail. PS. I'll be curious to know your solution: mine consisted in replacing UTF16 "chars" by Xs and append a unique identifier to each file... |
|
04 January 2023, 03:04 | #51 |
Registered User
Join Date: Jan 2020
Location: Bentonville, AR USA
Posts: 75
|
@BSzili
I cannot access your site with Chrome on Win11. (https://bszili.morphos.me/stuff/smb2-handler). I am getting this error: This site can’t provide a secure connectionbszili.morphos.me uses an unsupported protocol. ERR_SSL_VERSION_OR_CIPHER_MISMATCH |
04 January 2023, 04:06 | #52 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,796
|
Same here with Firefox on Windows 10:
Secure Connection Failed An error occurred during a connection to bszili.morphos.me. Cannot communicate securely with peer: no common encryption algorithm(s). Error code: SSL_ERROR_NO_CYPHER_OVERLAP The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem. |
04 January 2023, 06:32 | #53 | |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,293
|
Try a different browser that allows you to access http:// links without forcefully promoting them to https:// which currently isn't available on my website. I'm using Brave, but there must be other browsers that don't do that.
Quote:
Last edited by BSzili; 04 January 2023 at 08:05. |
|
04 January 2023, 13:27 | #54 | |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
Hi BSzili!
Quote:
My "solution" was to expose "AmigaOS-ready" names (unique Latin-1 filenames) only to the Amiga, while keeping the normal names (UTF16) internally, using a simple key-value dictionary to remember the mapping. For example, AmigaAMP would list a directory containing a file "XXXXX-1234.mp3" and can play it because, internally, the file name would still be something with 5 UTF16 "chars" that the Samba server can understand and access. Keep us posted on your implementation! |
|
04 January 2023, 19:22 | #55 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,293
|
It turns out salass00 is already working on a solution. His idea is to use URL encoding-style escaping which would allow for mapping the characters back without the need to store the original UTF-8 names.
|
04 January 2023, 20:22 | #56 |
Registered User
Join Date: Feb 2019
Location: Örebro
Age: 47
Posts: 117
|
Thanks a lot for this.
Just tested it on my A1200 with PCMCIA network card. Works great to connect to my Linux/Samba machine. File listing and file transfer is fast. Does not work with macOS Ventura built in file sharing however. Get the "No disk in drive". I tried to force SMB2 like described here https://www.droidwin.com/smb-file-sh...s-ventura-fix/ but didn't make a difference. |
04 January 2023, 20:53 | #57 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,293
|
In theory both SMB2 and SMB3 should work as the handler supports both, no disk means it couldn't connect to the share. To rule out problems on the Mac side, have you tried connecting from your Linux to it?
|
04 January 2023, 22:48 | #58 |
Registered User
Join Date: Feb 2019
Location: Örebro
Age: 47
Posts: 117
|
Tried that now and SMB seems to be completely non-functional in macOS Ventura
Aborts after connect and login with smb: \> SMBecho failed (NT_STATUS_CONNECTION_DISCONNECTED). The connection is disconnected now So I won't clutter the thread with macOS problems further. |
05 January 2023, 00:10 | #59 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 926
|
|
05 January 2023, 00:14 | #60 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
PS. Consider also the the lengths of the file names: escaping will increase a lot the file names, which should be limited to 32 or 107 or... depending on the filesystem? (A unique identifier will still be needed in case two (original) file names different only beyond the max. length of the Amiga, else they would be undistinguishable! )
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PotGo on Mouse Port (Port 0)? | Daedalus | Coders. System | 14 | 02 March 2016 20:44 |
Help please - Making Frankenstein os3.0 with os3.5/9 bits | Abdabs | support.Other | 3 | 27 February 2015 21:51 |
Serial port, parallel port, and pipe device mount errors | Samurai_Crow | support.FS-UAE | 4 | 13 March 2014 00:04 |
ECS. Make OS3.1 look like OS3.9 without loosing speed. | lukassid | support.Apps | 21 | 19 February 2013 00:13 |
Sending debug output to the serial port OS3.x | NovaCoder | Coders. C/C++ | 0 | 18 February 2013 06:56 |
|
|