My new documentation site and about where I'm heading :)
Re: My new documentation site and about where I'm heading :)
Thank you guys for the interest
@jPV
The library is not yet published, I will publish it as soon as I've finished the Hasteroid game test to check for errors, bugs and missing features
@jPV
The library is not yet published, I will publish it as soon as I've finished the Hasteroid game test to check for errors, bugs and missing features
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
Re: My new documentation site and about where I'm heading :)
Hi Allanon,
thank You for the library - have not needed until now so I decided to give it a try.
When I start the example program and choose mp3 file I got an error:
Is there something wrong with my mp3 ? (it happens with every mp3 I have testest)
Thanks.
thank You for the library - have not needed until now so I decided to give it a try.
When I start the example program and choose mp3 file I got an error:
and this is the highlighted line:Error in line 351 (ID3Tag.hws): Invalid UTF-8 sequence encountered!
Code: Select all
FrameType = ReadString(nf, 4)
Thanks.
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: My new documentation site and about where I'm heading :)
It's probably complaining about Unicode. Try to switch to the appropriate code page for the older versions of Hollywood. Maybe Allanon didn't upgrade before writing this.
I'm on registered MorphOS using FlowStudio.
Re: My new documentation site and about where I'm heading :)
Could you explain a little bit more where to switch?
I changed:
File > IDE settings > save format
to
ISO-8859-1 and resaved both files (ID3Tag and tagReader) but it didn't change anything.
I changed:
File > IDE settings > save format
to
ISO-8859-1 and resaved both files (ID3Tag and tagReader) but it didn't change anything.
Re: My new documentation site and about where I'm heading :)
Hi,
I'm not too into UTF8 encoding stuff, the library was developed and tested on Hollywood 6, I've just bought the upgrade but not yet received.
As soon as I will get it I'll try to check it out.
Maybe you could try to use the SetDefaultEncoding() command.
At line 351 there is a ReadString() command used to parse the id3 header frames, the error occurs during the reading operation.
Looking at the new manual the ReadString() command accepts a new encoding parameter, you may try temporary fix it adding the encoding as third parameter:
In few days Andreas should send me the upgrade
Let me now if you fixed the issue
I'm not too into UTF8 encoding stuff, the library was developed and tested on Hollywood 6, I've just bought the upgrade but not yet received.
As soon as I will get it I'll try to check it out.
Maybe you could try to use the SetDefaultEncoding() command.
At line 351 there is a ReadString() command used to parse the id3 header frames, the error occurs during the reading operation.
Looking at the new manual the ReadString() command accepts a new encoding parameter, you may try temporary fix it adding the encoding as third parameter:
Code: Select all
s$ = ReadString(id, length[, encoding])
Let me now if you fixed the issue
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
Re: My new documentation site and about where I'm heading :)
Unfortunately, adding #ENCODING_UTF8 to ReadString() is not quite helping:
there is no error anymore at line 351 but the same error jumps in but few lines away, at line 379 (this is also ReadString() command but #ENCODING_UTF8 parameter doesnt help here).
I tried with SetDefaultEncoding(#ENCODING_UTF8) but no luck.
Looks like I'll wait for your fix .
Thanks
there is no error anymore at line 351 but the same error jumps in but few lines away, at line 379 (this is also ReadString() command but #ENCODING_UTF8 parameter doesnt help here).
I tried with SetDefaultEncoding(#ENCODING_UTF8) but no luck.
Looks like I'll wait for your fix .
Thanks
Re: My new documentation site and about where I'm heading :)
Ok, let's hope Andreas will send my HW 7 copy as soon as possible
TBH I'm a bit scared about all this UTF-8 stuff
TBH I'm a bit scared about all this UTF-8 stuff
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
Re: My new documentation site and about where I'm heading :)
So... I have it working
this is what must be added to almost every function handling strings:
Thanks
this is what must be added to almost every function handling strings:
Code: Select all
#ENCODING_ISO8859_1
Re: My new documentation site and about where I'm heading :)
Great! and thank you!
Is a good hint for the next release
Is a good hint for the next release
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
Re: My new documentation site and about where I'm heading :)
No need to bother all string functions. Just insert this line to the beginning of the script:peceha wrote: this is what must be added to almost every function handling strings:Code: Select all
#ENCODING_ISO8859_1
Code: Select all
@OPTIONS {Encoding = #ENCODING_ISO8859_1}