Home Hex Edit Home Page
Hex Edit Features Hex Edit Features
Button Testimonials
Button Screen Shots
Button Downloads
Button Forums Home
Button HexEdit FAQ
Button Known Bugs
about help privacy register
Forums
Search Members Help

» Welcome Guest
[ Log In :: Register ]

 

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: Better code page support for OEM and ANSI, Improve their usefulness< Next Oldest | Next Newest >
 Post Number: 1
Legorol Search for posts by this member.

Avatar



Group: Members
Posts: 13
Joined: Jan. 2012

Member Rating: None
PostIcon Posted on: Jul. 19 2012,17:26  Skip to the next post in this topic. Ignore posts   QUOTE

Currently Hexedit supports a limited option of displaying text in OEM or ANSI code pages. The View -> Character Set menu option allows the user to select ANSI or OEM as an option, but does not allow the user to select *which* ANSI or *which* OEM code page. Instead, the code page that's actually used depends on the system locale set in the Windows control panel. For example, if the system locale is set to English (United States) in the control panel, then OEM 437 and ANSI 1252 are used, but if a different locale is set, then different code pages are used.

There are a range of ANSI (1250, 1252 etc.) and OEM (437, 852 etc.) code pages. Unless the user can select which one to actually use, the option to use ANSI or OEM is of very limited usefulness.

Please consider adding a way to select the code page, for example there could be a sub-menu for ANSI and another sub-menu for OEM that lists all the possibilities.
Offline
Top of Page Profile Contact Info 
 Post Number: 2
andrew Search for posts by this member.

Avatar



Group: Super Administrators
Posts: 635
Joined: Oct. 2003

Member Rating: 4
PostIcon Posted on: Jul. 20 2012,15:14 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Currently HexEdit Pro supports display using code pages.  You can select from several common code pages on the View menu (View/Character Set/Code Page/...) including many ANSI pages, UTF-8, etc.  You can also chose any of the installed code pages using the Options dialog (Tools/Options/Document/Display/Code Page).

See http://www.hexeditpro.com.  I will probably move this feature to the free version for the next release (HexEdit 4.1). :)


Edited by andrew on Jul. 20 2012,15:15

--------------
Andrew Phillips
Moderator of Forums and creator of Hex Edit
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 3
Legorol Search for posts by this member.

Avatar



Group: Members
Posts: 13
Joined: Jan. 2012

Member Rating: None
PostIcon Posted on: Jul. 23 2012,02:49 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Thank you for your reply, I checked out the features in the 4.0 Pro version (with SHA1 of 1E92 E119 10EC 57A2 3CD0 99B9 A2C8 2DD9 1292 6574) and it brings up several other points.

1) Since both the Pro and Free versions are called 4.0, I just assumed they are the same software right now; I see that I was wrong. Where can I see a complete list of features that are included in the Pro version but not in the Free version? I looked both on www.hexedit.com and www.hexeditpro.com and can't find such a list, so I had no idea the Pro version had such an extra feature. What other features does the Pro version have?

2) The Pro 4.0 version still doesn't support disk editing on Windows 7 64-bit. It appears to be older than the Free 4.0 version, which now works with disk editing. As a result the Pro version is still a no-go for me.

3) The code page support is incomplete and clunky in the 4.0 Pro version. These issues in particular:

a) The only "OEM" codepage available is codepage 437, and is simply labelled as OEM. There are in fact a range of OEM codepages, as diverse as the Windows codepages, such as 437, 850, 852 etc. Please see http://en.wikipedia.org/wiki/Code_page#IBM_PC_.28OEM.29_code_pages

b) As I switch between codepages, the font being used switches around. I observed that at least three different fonts are used when I switch between ASCII+ANSI, ASCII+IBM/OEM and a named codepage (eg. 1250).

c) I don't understand why there is a generic ASCII+ANSI and a generic ASCII+IBM/OEM entry, which don't specify which codepage they are using, all the while having explicitly named codepages available as well (eg. 437, 1250, 1252). I find this confusing.

Thanks again for reading and considering this lengthy reply.
Offline
Top of Page Profile Contact Info 
 Post Number: 4
andrew Search for posts by this member.

Avatar



Group: Super Administrators
Posts: 635
Joined: Oct. 2003

Member Rating: 4
PostIcon Posted on: Aug. 15 2012,18:33 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Sorry for the delay in replying but I somehow missed seeing your post.

Re HexEdit vs HexEdit Pro 4.0:  Sorry for the confusion.  I decided to give them the same version numbers becuase I previously released an earlier version as a free version but this also caused a lot of confusion.  For example, when I released HexEdit 3.5 (shareware) I also released HexEdit 3.0F (freeware).  This caused all sorts of confusion such as HexEdit 3.0F being deleted from shareware sites as it was thought to be an "old" version.

After converting HexEdit to using the new MFC and removing BCG code I could make the code open-source again.  So I created:

HexEdit 4.0 (open source)
HexEdit Pro 4.0 (shareware)

To be fair to all the people who paid for HexEdit 3.X I added a heap of new features then released HexEdit Pro 4.0 and made it free to use for anybody who bought 3.5 or 3.6.

Also see: http://blog.hexeditpro.com/2011/07/introduction.html.

After being in beta for more than a year I just released HexEdit 4.0 (fixing all bugs including disk editing under Windows 7).  HexEdit Pro 4.0 was released late last year, but I have yet to release a version that fixes disk editing under Windows 7.

The features of HexEdit Pro 4.0 that are not part of HexEdit 4.0 are basically all the features listed for 4.0 on the HexEdit RoadMap

--------------
Re Code Pages: perhaps code page support is clunky (for historical reasons) but it is not incomplete ...

a) all code pages are available in the Document/Display page of the Options dialog.  I simply added the more common ones to the View menu (View/Character Set/Code Pages).

b) the font does not switch when you switch between code pages - code pages always use the "Multibyte Font"

You should understand that there are 3 fonts remembered internally (see Option/Document/Display).  These are:

Normal: used for ASCII, ANSI and EBCDIC characters set display.
IBM/OEM: used for characters used in old MSDOS systems
Multibyte: used for code pages (and Unicode soon)

This was necessary when HexEdit was first written as most fonts did not support all character sets.  In fact there were very few that supported IBM/OEM.  Even now it is still useful to use a different fonts for different characters sets.

To be clear the character set options are:

ASCII: just the ASCII characters (same in all code pages)  [single byte]
EBCDIC: does not use a code page translates to ASCII (using the file EBCDIC.TAB) [single byte]
ANSI: ASCII plus the extra characters supported in the default ANSI code page [single byte]
IBM/OEM: ASCII plus IBM/OEM symbols - only supported by a small number of fonts [single byte]
Code page: allows selection of any installed code page [multi-byte]

c) The first four options all use the default ANSI code page, but display different parts or use different fonts or translate characters.

If you are just interested in code pages then just use the "Code Page" option and switch between the different pages.  (The other options are still useful mainly because not all fonts support all character sets).


--------------
Andrew Phillips
Moderator of Forums and creator of Hex Edit
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 5
Legorol Search for posts by this member.

Avatar



Group: Members
Posts: 13
Joined: Jan. 2012

Member Rating: None
PostIcon Posted on: Aug. 25 2012,11:07 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Thank you very much for the detailed explanations! After reading all that about the code pages, and trying it again in the Pro 4.0 version, I can now see how it works. All the code pages are in fact available and I can do what I wanted to do.

As you say, the system is a bit clunky though. I realise it's not a high priority issue, but perhaps you can find the time to clear it up in the future. Here are two things that would be useful to consider:

* Since not all the available code pages are listed in the menu, add an entry in View -> Character Set -> Code Page that takes you to the configuration dialog Tools -> Options -> Document -> Display dialog that allows you to select additional code pages. For example, call it "Additional Code Pages..."

* Please sort the dropdown list containing the code pages that opens from the Tools -> Options -> Document -> Display dialog. It is hard to find the one I need when they appear to be in random order.
Offline
Top of Page Profile Contact Info 
 Post Number: 6
andrew Search for posts by this member.

Avatar



Group: Super Administrators
Posts: 635
Joined: Oct. 2003

Member Rating: 4
PostIcon Posted on: Aug. 27 2012,19:00 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Thanks for the suggestions:

> .. add an entry in the [Code Page menu] ... that take you to [Window Display Options page]

Great idea.  I should have though of that.

> Please sort the dropdown list ...

I just display it in the order given to me from Windows.  I have also noted it is a mess, but have not had time to fix it.  Should I sort numerically?


--------------
Andrew Phillips
Moderator of Forums and creator of Hex Edit
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 7
andrew Search for posts by this member.

Avatar



Group: Super Administrators
Posts: 635
Joined: Oct. 2003

Member Rating: 4
PostIcon Posted on: Oct. 23 2012,05:07 Skip to the previous post in this topic.  Ignore posts   QUOTE

I have just implemented both your suggestions (extra menu item at bottom of Code Page list + sort code pages numerically).  Should appear in HexEdit Pro 4.1, maybe next month.

--------------
Andrew Phillips
Moderator of Forums and creator of Hex Edit
Offline
Top of Page Profile Contact Info WEB 
6 replies since Jul. 19 2012,17:26 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


 
reply to topic new topic new poll

» Quick Reply Better code page support for OEM and ANSI
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code