Search found 50 matches

by joerg
Fri Mar 14, 2014 3:59 pm
Forum: General AmigaOS
Topic: filesysbox ntfs ubs massStorage problem
Replies: 76
Views: 17433

Re: filesysbox ntfs ubs massStorage problem

But it's the filesystem which defines the format in which it stores the names. Internal encoding on the HD if required by the file system format, yes. Getting/returning from/to the OS (dos.library), no, that's UTF-8 now. I'll fix my file systems (SFS, etc.) as well to convert between the internal e...
by joerg
Fri Mar 14, 2014 11:13 am
Forum: General AmigaOS
Topic: filesysbox ntfs ubs massStorage problem
Replies: 76
Views: 17433

Re: filesysbox ntfs ubs massStorage problem

Why are you so reluctant to the idea of using the local charset? Most users will only use characters in their own charset. The software used for displaying or entering the names has to do the conversion between UTF-8 and the local 8 bit charset, in this case it's the Workbench which has to be updat...
by joerg
Thu Mar 13, 2014 3:10 pm
Forum: General AmigaOS
Topic: Amiga DOS scripts .def and second Keyword
Replies: 9
Views: 2474

Re: Amiga DOS scripts .def and second Keyword

Amigo1 wrote:could someone please try this script.
The second Keyword (File2) is not read from the CLI and .DEF does not what it should.
What am I doing wrong?
Remove the space(s) in .KEY, for the first example use ".KEY FILE1/A,FILE2", for the last one ".KEY FILE1/A,FILE2,FILE3".
by joerg
Thu Mar 13, 2014 3:01 pm
Forum: General AmigaOS
Topic: filesysbox ntfs ubs massStorage problem
Replies: 76
Views: 17433

Re: filesysbox ntfs ubs massStorage problem

gazelle wrote:
salass00 wrote:In fact this is its definition from SDK/newlib/include/stddef.h:

Code: Select all

typedef int wchar_t;
Only for __VBCC__ as far as I can see.
For GCC it's using GCC's own stddef.h with #include_next, the GCC wchar_t is 32 bit as well.
by joerg
Thu Mar 13, 2014 2:52 pm
Forum: General AmigaOS
Topic: filesysbox ntfs ubs massStorage problem
Replies: 76
Views: 17433

Re: filesysbox ntfs ubs massStorage problem

To implement case insensitive string comparison and hash functions I need a toupper() function that supports unicode. AFAICT if I use setlocale(LC_CTYPE, "C-UTF-8") first I should then be able to use towupper() for this purpose, but I guess this doesn't work so well in a shared where it w...
by joerg
Thu Mar 13, 2014 9:36 am
Forum: General Developer Support
Topic: list of all FS indentificators
Replies: 16
Views: 8227

Re: list of all FS indentificators

Just was some copy+paste so anyone who will answer there will not worry about ffs, in real use i have that code (for sfs/jxfs i add _HARD as i do not know if it as in case with PFS different for floppies, or the same): AFAIK there is no "floppy" DOSType for PFS, just different versions of...
by joerg
Wed Mar 12, 2014 7:44 pm
Forum: General Developer Support
Topic: list of all FS indentificators
Replies: 16
Views: 8227

Re: list of all FS indentificators

Is there some list with all the identification of all FS which can be mounted currently on os4 ? The list of the IDs for the file systems you have installed and can be mounted is in filesystem.resource. No idea where you got your list from, but for example 0x444f5308 doesn't exist, and using your o...
by joerg
Tue Mar 11, 2014 8:12 pm
Forum: Platform: AmigaOne X1000
Topic: AmiDVD: Cannot write DVD/CDs anymore
Replies: 8
Views: 8726

Re: AmiDVD: Cannot write DVD/CDs anymore

Now that is strange...i need to *create* an image of that subdir first to be able to burn it to CD? My memory seems to be failing me again, as i'm "pretty" sure i was able to burn whole subdirs to a CD :-( You don't have to create an image file, you can enable "on the fly" at th...
by joerg
Tue Mar 11, 2014 8:03 pm
Forum: General AmigaOS
Topic: filesysbox ntfs ubs massStorage problem
Replies: 76
Views: 17433

Re: filesysbox ntfs ubs massStorage problem

Using UTF-8 is not an option because absolutely nothing supports it As long as nobody starts using UTF-8 it it will never happen. And what's the problem with the UTF-8 file names in JXFS, except that next to nothing displays them correctly yet? and changing filesystem charset depending on locale se...
by joerg
Tue Mar 11, 2014 5:37 pm
Forum: General AmigaOS
Topic: filesysbox ntfs ubs massStorage problem
Replies: 76
Views: 17433

Re: filesysbox ntfs ubs massStorage problem

7 chars I couldn't care less about TBH, but I guess I can change the encoding to ISO-8859-1 if it makes you happy. ISO-8859-1 is only OK for an AmigaOS 3.x version, but not for an AmigaOS 4.x file system. On AmigaOS 4.x ISO-8859-1 is just as wrong as any other 8 bit charset, it only works for users...