User to user discussion and support for UltraEdit, UEStudio, UltraCompare, and other IDM applications.

General and specific configuration/INI settings
10 posts Page 1 of 1
I have just upgraded to UltraEdit v14.20, but I found the preferred command OEM Character Set is gone.
Does anyone know how to enable it in this new version?
It can be found in prevision version in menu View with menu item name OEM Character Set.

The feature is definitely in the application executable. It is still at the list of commands available for toolbar customization, but not for menu customization. The last version I know had it, was the 14.00b+1. Then, when updated to, the command was gone from the list.

In the toolbar customization dialog, the command is listed as Show font with OEM Character Set.

To get it back in the menu, you could manually add it to the Environments (later named Layouts) you want the menu item on. The files you need to edit have a .mb1 extension. uedit32.mb0 must be also modified. They are generally located at: %AppData%\IDMComp\UltraEdit. The line to add the menu item is:

Code: Select all
  M "OEM C&haracter Set",      ID_FONT_OEM

PS: If you manually edit the current (selected) environment/layout, then, when UltraEdit starts again, it restores the previous configuration without the changes you manually added. So, you need to select another environment before editing it or copy the modified *.mb1 file as uedit32.mb0 before starting UltraEdit again.
Just a hint: It is possible that UltraEdit remembers if an OEM font should be used for a file with a specified extension. So you would not need to select always manually the OEM character view (and edit) for every file opened. See my last post at Different font depending on file extension for details.

It is advisable to add the command OEM Character Set to a customized toolbar when working for some files with OEM character set active by default. This gives you the possibility to easily see for an active file the state of the OEM Character Set setting. In the toolbar customization dialog the command is listed with Show font with OEM Character Set.
Thank all so much!
I am using Alejandro's way and it works fine. Great! :D
Not to dredge up an old topic, but I can't find the command OEM Character Set in the View menu anymore since updating to v17.10.

I tried several different fonts, but the command is still missing. According to the help files, it should be there.
The command OEM Character Set was removed by IDM in UltraEdit for Windows v14.10 and UEStudio v6.60. If you need that command because you often have to edit files using OEM character set, you can add it manually to a customized menu or a customized toolbar as explained above.

I will report IDM by email that page with title OEM Character Set (View menu) still exists in help of UltraEdit referenced from keywords index although the command was removed long time ago and is not referenced anymore from contents index or any other help page.
Can Show font with OEM Character Set be added to the currently latest UE v23.xx? The *.mb1 files are no longer used, apparently. Thanks.
I am also trying to get this working again in v23.xx with no luck until now.

Are you using v23.xx of UltraEdit?
If yes, can you explain how you got this working?
I can live with any kind of solution: menu, toolbar, ...

How do you open .bat, .cmd files in OEM mode as default?

(Schöne Grüße aus Salzburg nach Wien)
Here is a step by step description on how to add the command OEM Character Set to a customized toolbar in currently latest UltraEdit for Windows v23.20.0.28 used in toolbar/menu mode (not in ribbon mode). I used the 32-bit version on recording the steps, but there should be no difference to 64-bit version.

Create a custom layout

It is advisable to save the current standard layout as custom layout before making any changes to ribbon/menu/toolbar in UltraEdit for Windows v23.20 if that was not already done before.

  1. Ribbon Mode
    Click on ribbon tab Layout. On left side there is an icon showing multiple windows with text Layout. Click on the down arrow to open the popup menu and click on menu item Manage Layouts.

    Toolbar/Menu Mode with Contemporary menus
    Click in menu Layout on submenu Layout to open it and click on menu item Manage Layouts.

    Toolbar/Menu Mode with Traditional menus
    Click in menu View on submenu Layouts to open it and click on menu item Manage Layouts.

  2. Click on button Save current state as, enter as layout name for example MyLayout and as description My custom layout, click on button OK, next on button Select layout and last on button Continue.

  3. Exit UltraEdit/UEStudio with key Alt+F4 and restart UE/UES if the user interface is now a mixture of toolbar/menu and ribbon mode. It looks like there is an issue in toolbar/menu mode with application window drawing after saving current layout as new layout and using it. There is no issue on saving current layout as new layout when using ribbon mode.

Adding OEM Character Set to contemporary or traditional toolbar

  1. Click with secondary (right) mouse button on the ribbon to open the context menu and click with primary (left) mouse button in submenu Toolbar/Menu Mode either on Contemporary menus or Traditional menus to switch to this GUI mode if not already done before.

  2. Click with secondary (right) mouse button on the toolbar to open the context menu and click with primary (left) mouse button on Large buttons if this toolbar option is currently enabled.

    It is necessary for the steps below to use the small buttons during the manual customization. The large buttons can be enabled again when finished with manual customization.

  3. Click with secondary (right) mouse button on the toolbar to open the context menu and click with primary (left) mouse button on Customize to open the toolbar customization dialog.

  4. On tab Toolbars click on button New, enter as name for the toolbar MyToolbar (can be later renamed) and click on button OK.

  5. Move the new toolbar with name MyToolbar displayed in the middle of UltraEdit main window to top to the other toolbar(s).

  6. On tab Commands select on left side All Commands and scroll down on right side to the end of the commands list.

  7. In the commands list on right side there is the command Welcome Page. Click with primary (left) mouse button on this command, hold the mouse button, move mouse pointer over the toolbar MyToolbar and leave the mouse button, i.e. drag the command from the commands list on the custom toolbar and drop it there. Close the toolbar customization dialog with button Close.

  8. Exit UltraEdit/UEStudio now after toolbar is prepared for the command OEM Character Set.

  9. Open in Windows Explorer or any other file manager the directory %APPDATA%\IDMComp\UltraEdit respectively %APPDATA%\IDMComp\UEStudio or the directory containing the INI file and therefore also the workspace file.

  10. Open in any other text editor than UltraEdit/UEStudio like Windows Notepad the workspace file uedit32.in0 (32-bit UE) or uedit64.in0 (64-bit UE) or uestudio.in0 (UES).

    Alternatively it is also possible to make a copy of the workspace file, open the copy in UE/UES, edit it as written below, and overwrite workspace file of UE/UES after save and exit of UE/UES with the modified copy.

  11. Search in the workspace file for Name=MyToolbar. Below the line with this string there is a line with Buttons=. Replace the long string with the hexadecimal digits with the following string:

    Code: Select all

  12. Save the modified workspace file and exit the text editor.

  13. Start UltraEdit/UEStudio and an icon with a blue A with a thick blue bar below should be displayed in the toolbar instead of the light bulb.

    In UltraEdit for Windows < v23.00 respectively UEStudio < 16.00 the icon for OEM Character Set was a big white A on black background with a small gray o on white background in a box on bottom right corner of the icon. But this icon does not exist anymore in resources of UE/UES because all icons were redrawn for UE v23.00 and UES v16.00.

  14. The command Show font with OEM Character Set can be moved to any other toolbar by opening once again from context menu of the toolbars the toolbar customization dialog and drag and drop the command to a different toolbar. Also the toolbar MyToolbar can be renamed if you don't like the name MyToolbar, or deleted if not further needed because the command was moved to another toolbar.

  15. It is possible to use now again the large buttons which can be re-enabled via a click on toolbar context menu item Large buttons.

  16. Exit UltraEdit/UEStudio after toolbar customization is finished.

  17. Go back to the file manager (Windows Explorer) and copy the updated and used workspace file uedit32.in0 or uedit64.in0 or uestudio.in0 over the custom layout workspace file MyLayout.in1 to have a backup for the future.

  18. In case of alternate text editor or UE/UES used before for editing the workspace file made a backup of the workspace file in the application data directory of UltraEdit/UEStudio, delete this backup file and then close the file manager.
The command OEM Character Set is now ready for usage in toolbar/menu mode.

How to customize UltraEdit/UEStudio for editing *.bat and *.cmd files by default with OEM Character Set enabled and all other single byte encoded text files opened in same instance or another instance of UltraEdit/UEStudio with ANSI (Windows) encoding is described in topic UE/UES configuration to edit batch files (*.bat, *.cmd) by default with OEM character set.
Best regards from Austria
Thank you @Mofi.

Your solution works like a charm!
I made the changes on a x64 installation of Ultraedit.

What a pity IDM removed this from the GUI, I hope they will not remove this function completely from UltraEdit in future versions. :evil:
10 posts Page 1 of 1