Jump to content
  • 0

ASCII or Unicode?


magicman

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  51
  • Reputation:   0
  • Joined:  04/12/13
  • Last Seen:  

How should I deliver my server's GRF to my users?

In ASCII oder Unicode?

Which is more common to do and why?

 

Cheers,

 

magicman

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  133
  • Reputation:   189
  • Joined:  05/20/12
  • Last Seen:  

GRF doesn't really have any encoding, it just checks strings byte by byte (with case insensitivity for alphabetic characters). Gravity uses strings encoded with EUC-KR. The garbled strings you see in data folders are the direct representation of these EUC-KR encoded strings in ASCII or similar. Repacking with the garbled names works because it's binary equivalent. If you convert the Korean names to unicode when extracting you must convert back to get the expected file names in the GRF. For names limited to latin characters it doesn't actually matter since that's the same in literally every character encoding.

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   4
  • Joined:  12/12/13
  • Last Seen:  

Usually ASCII Due to thats what extracted data usually is.. You can tell by looking at your grf. It also explains it in several other topics, along with on Thor Patcher. which is what im guessing this is about?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  51
  • Reputation:   0
  • Joined:  04/12/13
  • Last Seen:  

Usually ASCII Due to thats what extracted data usually is.. You can tell by looking at your grf. It also explains it in several other topics, along with on Thor Patcher. which is what im guessing this is about?

 

Is Thor Patcher only able to patch ASCII GRF's?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   4
  • Joined:  12/12/13
  • Last Seen:  

No it can do either.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   2
  • Joined:  10/01/12
  • Last Seen:  

If your patch contains letters like this À¯ÀúÀÎÅÍÆäÀ̽º, use ASCII

else use unicode.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  51
  • Reputation:   0
  • Joined:  04/12/13
  • Last Seen:  

Is there anything wrong with delivering it in Unicode? Can some users experience problems with that?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...