message storage file, foff and length question [message #31633] |
Wed, 10 May 2006 20:27 ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
mdruta
![United States United States](/forum/images/flags/us.png) Messages: 2 Registered: May 2006
Karma: 0
|
Junior Member |
|
|
Hello,
We are using FUDFORUM 2.3.2.
I have downloaded the msg_1 file from under the /forum/forum_data/messages/ on a windows machine and opened it in a text editor.
I am now trying to find messages in this file using the 'foff' and 'length' values from fud_msg table and they seem to be off. Tried this for many different messages, none matched.
The messages do look fine online though, so there is no corruption here.
Am I missing something? Am I looking at the wrong file?
Thank you.
|
|
|
|
|
Re: message storage file, foff and length question [message #31707 is a reply to message #31685] |
Sun, 14 May 2006 14:53 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
Ilia
![Canada Canada](/forum/images/flags/ca.png) Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The message file is using offset based on binary string lengths so the character encoding plays no role in this instance. If the forum shows the messaqes correctly then the file is definately file and you must be not accessing the offsets correctly.
FUDforum Core Developer
|
|
|
|