Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 12 of 26 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 259

Thread: Typ viewer

Hybrid View

  1. #1
    Navigation software expert Typ viewer
    Typ viewer
    Cnfhbr's Avatar
    Join Date
    Jan 2010
    Location
    CIS
    Posts
    1,033
    Rep Power
    551

    Default

    Quote Originally Posted by sherco40 View Post
    ... and the updating of Swedish and Italian file.
    What has become of Russian ?

  2.    Advertissements


  3. #2
    Important User Typ viewer
    Join Date
    Aug 2011
    Location
    France
    Posts
    272
    Rep Power
    195

    Default

    Sorry Cnfhbr

    I forgot to mention that Russian language have also been updated

    Thank you Cnfhbr

  4. #3
    Master Typ viewer thomasino007's Avatar
    Join Date
    Oct 2012
    Location
    EU
    Posts
    24
    Rep Power
    52

    Smile Czech lang file

    Hi there,

    Czech lang for your software is here Have a nice day.

    Tomas

    [Only registered and activated users can see links. ]

  5. #4
    Kanopus
    Guest

    Default

    No matter what I do, I can't save correctly TYP file to TXT format. Always labels are damaged and most national characters are converted to '?'. Even if I change Typ file Code Page to 1252, file is read correctly, but I get damaged labels when saving.

    Maybe TYPViewer uses internally CP 1252 but converts texts to system CP, when saving? This could explain why character 'ó' is preserved - it is common to both CP 1252 and my system CP 1250.

    This is label that I see in TYPViewer. It is displayed in CP 1252 regardless of TYP file CP, but this is no problem, since text is correct:

    3I0rxuC

    And this is what I get in TXT file:
    Code:
    Please Login or Register to see the links
    Pity it doesn't work, txt file would be very useful for making bulk changes.

  6. #5
    Important User Typ viewer
    Join Date
    Aug 2011
    Location
    France
    Posts
    272
    Rep Power
    195

    Default

    Hi Kanopus

    Have you tried to change the font in the viewer (Notepad?) you use to read the text file (because some characters like "Œ" i.e. 0x8C or "¿" i.e. 0xBF do not exist in all fonts...)

  7. #6
    Kanopus
    Guest

    Default

    0xBF is exactly what I need, it is polish character 'Ż' in CP 1250. In CP 1252 it is '¿'. What I get is 0x3F, which is '?'.

    I have tried English Windows and finally it worked correctly. So I guess that you use internally CP 1252 (or maybe default LC_ALL "C") and probably you use some function to write text file, which does code page translation. No problem, when system use CP 1252 too, but doesn't work for my Windows with CP 1250.

    Other minor problem is that you don't use CP from TYP file in "Visualization" window. This could be connected to write problem, since any editing in this window damages national characters too.
    Last edited by Kanopus; 2nd April 2013 at 07:27 PM.

  8. #7
    Important User Typ viewer
    Join Date
    Aug 2011
    Location
    France
    Posts
    272
    Rep Power
    195

    Default

    There are several problems and I don't want to confuse all.

    First problem : the character "?" :
    So can you tell me if I was right when I told you that you must change your font in your text viewer to make "?" disappear?
    More precisely: set CP to 1252 and write "Œcie¿ka" in TYPViewer and save to txt. (exactly like you did in your previous post)
    Then open your txt with Notepad or other text editor and try different fonts and tell me what you get.

    I do think that the characters"?" you get is a replacement character because the character the system must display doesn't exist in the font.
    It is not a problem of charset, the character 0xBF is not converted in 0x3F.
    The character 0x3F doesn't exist in all fonts. So , if you try to display it in a font in which it doesn't exist, the system (Windows) replace it by a "character of replacement" which is "?" in your system...
    Please confirm or infirm that.

  9. #8
    Kanopus
    Guest

    Default

    Quote Originally Posted by sherco40 View Post
    So can you tell me if I was right when I told you that you must change your font in your text viewer to make "?" disappear?
    Sorry, what I said was precise. Character 0xBF is changed to 0x3F, I have checked it with hex editor.

    Quote Originally Posted by sherco40 View Post
    More precisely: set CP to 1252 and write "Œcie¿ka" in TYPViewer and save to txt. (exactly like you did in your previous post)
    Then open your txt with Notepad or other text editor and try different fonts and tell me what you get.
    Somehow I can't get your idea. Why do you expect, that polish editor can't display polish characters with default font? It always does

    Quote Originally Posted by sherco40 View Post
    I do think that the characters"?" you get is a replacement character because the character the system must display doesn't exist in the font.
    Again: conversion is done correctly in English Windows. Then I copy txt file back to my Windows and all characters are visible as they should. No fault in my Windows, editor or fonts. This is what I see:
    Code:
    Please Login or Register to see the links
    Quote Originally Posted by sherco40 View Post
    So , if you try to display it in a font in which it doesn't exist, the system (Windows) replace it by a "character of replacement" which is "?" in your system...
    Please confirm or infirm that.
    Can't confirm, characters are already wrong inside txt file.
    Last edited by Kanopus; 2nd April 2013 at 08:40 PM.

  10. #9
    Important User Typ viewer
    Join Date
    Aug 2011
    Location
    France
    Posts
    272
    Rep Power
    195

    Default

    Hi kanopus,

    OK, for the first problem , the character "?" that appears when the codepage selected in TYPViewer is not the code page of your system:
    this problem comes for the RichTextBox control used by TYPViewer to display the text with highlighted words.
    This control uses unicode in internal (it converts to unicode the code of the characters you type in , according to the charset selected, i.e. the charset of the typ file) and , when the program (i.e. TYPViewer) reads this text, the RichTextBox tries to convert the unicode value to the value of the same character in the charset of the system. So when it doesn't find the same character in this charset, it displays a replacement character, the quote mark. And this behaviour cannot be changed. I'm looking for a workaround...
    Sorry for all my questions, the problem comes from TYPViewer.


    For the second problem, there is no difference between 1250 and 1252 codepage in TYPViewer : this my fault, I have forgotten to write the corresponding code for the value 1250, so TYPViewer uses its default value, i.e. 1252

    Please try this version [Only registered and activated users can see links. ] , I think that the second bug is fixed, i.e. if you use typ files with codepage 1250 on a 1250 system, I think the txt will be well saved.
    Attached Files Attached Files
    Last edited by catymag; 27th April 2013 at 11:42 AM. Reason: attached file on Noeman's server

  11. #10
    Kanopus
    Guest

    Default

    Thanks for your work, new version of TYPViewer works correctly
    Actually you solved for me both problems. Since now codepage is set to system settings no more '?' on display.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •