Okay, you have every right to hate me right now, BUT what if I have a .txt file with the edited data and use this to read/write with the .lua script and use @Include=This.txt on the main .ini file that will be encoded as it should? Wouldn't that fix the encoding issues?jsmorley wrote:No, it doesn't...
It is currently April 28th, 2024, 2:23 am
How can one get a table's length?
-
- Posts: 919
- Joined: January 30th, 2017, 2:01 am
- Location: Greece
Re: How can one get a table's length?
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: How can one get a table's length?
I haven't tested, but I think that might work, as long as the .txt file has no encoding, and contains no Unicode or characters from the "Extended ASCII" part of the ASCII table. If you stay with characters 1-127 of the ASCII table, that might work.kyriakos876 wrote:Okay, you have every right to hate me right now, BUT what if I have a .txt file with the edited data and use this to read/right with the .lua script and use @Include=This.txt on the main .ini file that will be encoded as it should? Wouldn't that fix the encoding issues?
-
- Posts: 919
- Joined: January 30th, 2017, 2:01 am
- Location: Greece
Re: How can one get a table's length?
I hear you loud and clear. The plan never was to have my Greek name on the bottom of the .txt file, written with Greek characters as a signature anyway.jsmorley wrote:I haven't tested, but I think that might work, as long as the .txt file has no encoding, and contains no Unicode or characters from the "Extended ASCII" part of the ASCII table. If you stay with characters 1-127 of the ASCII table, that might work.