Saving Some Word Documents As HTML Renders Improperly In Web Browser Like Edge -- Can This Be Fixed?

Mark Rockman 131 Reputation points
2023-06-04T17:49:38.97+00:00

Examine this document: http://www.mdrsesco.biz

All those question marks are not present in the original DOCX document. So they should not be present in the browser display.

Microsoft 365 and Office | Word | For business | Windows
{count} votes

2 answers

Sort by: Most helpful
  1. Mark Rockman 131 Reputation points
    2023-06-04T21:24:02.9866667+00:00
    MDRSESCO File Dump Utility 1.0
    2023 JUN 04 - 21:18:22.849 UTC
    
    Dump of file (hex.txt)
    Word Count:  201	Byte Count: 807
    
           0  54 68 65 20  6F 70 74 69  6F 6E 20 2D  4C 6F 6E 67  52 75 6E 6E  
           0   T  h  e      o  p  t  i   o  n     -   L  o  n  g   R  u  n  n  
           5  69 6E 67 20  6D 61 79 20  61 70 70 65  61 72 20 61  6E 79 77 68  
           5   i  n  g      m  a  y      a  p  p  e   a  r     a   n  y  w  h  
          10  65 72 65 20  6F 6E 20 74  68 65 20 63  6F 6D 6D 61  6E 64 20 6C  
          10   e  r  e      o  n     t   h  e     c   o  m  m  a   n  d     l  
          15  69 6E 65 20  74 6F 20 65  6E 61 62 6C  65 20 63 6F  6D 70 61 72  
          15   i  n  e      t  o     e   n  a  b  l   e     c  o   m  p  a  r  
          20  69 73 6F 6E  73 20 74 68  61 74 20 65  78 63 65 65  64 20 31 35  
          20   i  s  o  n   s     t  h   a  t     e   x  c  e  e   d     1  5  
          25  2C 30 30 30  20 6C 69 6E  65 73 2E 20  20 52 75 6E  20 74 69 6D  
          25   ,  0  0  0      l  i  n   e  s  .         R  u  n      t  i  m  
          30  65 73 20 63  61 6E 20 62  65 20 65 78  63 65 65 64  69 6E 67 6C  
          30   e  s     c   a  n     b   e     e  x   c  e  e  d   i  n  g  l  
          35  79 20 6C 6F  6E 67 20 77  68 65 6E 20  74 68 65 20  6E 75 6D 62  
          35   y     l  o   n  g     w   h  e  n      t  h  e      n  u  m  b  
          40  65 72 20 6F  66 20 6C 69  6E 65 73 20  69 73 20 65  78 63 65 65  
          40   e  r     o   f     l  i   n  e  s      i  s     e   x  c  e  e  
          45  64 69 6E 67  6C 79 20 67  72 65 61 74  2E 20 20 52  75 6E 20 74  
          45   d  i  n  g   l  y     g   r  e  a  t   .        R   u  n     t  
          50  69 6D 65 73  20 61 72 65  20 4F 28 6E  32 29 20 77  68 65 72 65  
          50   i  m  e  s      a  r  e      O  (  n   2  )     w   h  e  r  e  
          55  20 6E 20 69  73 20 74 68  65 20 6E 75  6D 62 65 72  20 6F 66 20  
          55      n     i   s     t  h   e     n  u   m  b  e  r      o  f     
          60  6C 69 6E 65  73 20 69 6E  20 74 68 65  20 6C 6F 6E  67 65 73 74  
          60   l  i  n  e   s     i  n      t  h  e      l  o  n   g  e  s  t  
          65  20 66 69 6C  65 2E 0D 0A  0D 0A 20 20  20 20 20 20  20 20 20 20  
          65      f  i  l   e  .                                               
          70  20 20 20 20  20 20 20 20  20 20 20 20  20 20 54 68  65 20 34 74  
          70                                                T  h   e     4  t  
          75  68 20 61 72  67 75 6D 65  6E 74 20 6F  66 20 74 68  65 20 63 6F  
          75   h     a  r   g  u  m  e   n  t     o   f     t  h   e     c  o  
          80  6D 6D 61 6E  64 20 6C 69  6E 65 20 73  68 6F 75 6C  64 20 62 65  
          80   m  m  a  n   d     l  i   n  e     s   h  o  u  l   d     b  e  
          85  20 2D 4E 20  6F 72 20 2D  4E 44 20 6F  72 20 2D 52  20 6F 72 20  
          85      -  N      o  r     -   N  D     o   r     -  R      o  r     
          90  2F 73 71 75  6F 7A 65 2E  0D 0A 20 20  20 20 20 20  20 20 20 20  
          90   /  s  q  u   o  z  e  .                                         
          95  20 20 20 20  20 20 20 20  20 20 20 20  20 20 2D 4E  20 63 61 75  
          95                                                -  N      c  a  u  
         100  73 65 73 20  74 68 65 20  44 69 72 65  63 74 6F 72  79 20 53 74  
         100   s  e  s      t  h  e      D  i  r  e   c  t  o  r   y     S  t  
         105  72 75 63 74  75 72 65 20  45 78 61 6D  69 6E 65 72  20 6E 6F 74  
         105   r  u  c  t   u  r  e      E  x  a  m   i  n  e  r      n  o  t  
         110  20 74 6F 20  72 75 6E 2E  0D 0A 20 20  20 20 20 20  20 20 20 20  
         110      t  o      r  u  n  .                                         
         115  20 20 20 20  20 20 20 20  20 20 20 20  20 20 2D 4E  44 20 63 61  
         115                                                -  N   D     c  a  
         120  75 73 65 73  20 74 68 65  20 44 69 72  65 63 74 6F  72 79 20 53  
         120   u  s  e  s      t  h  e      D  i  r   e  c  t  o   r  y     S  
         125  74 72 75 63  74 75 72 65  20 45 78 61  6D 69 6E 65  72 20 6E 6F  
         125   t  r  u  c   t  u  r  e      E  x  a   m  i  n  e   r     n  o  
         130  74 20 74 6F  20 72 75 6E  20 61 6E 64  20 64 6F 65  73 20 6E 6F  
         130   t     t  o      r  u  n      a  n  d      d  o  e   s     n  o  
         135  74 20 64 65  6C 65 74 65  20 74 68 65  20 54 6F 6F  4C 61 72 67  
         135   t     d  e   l  e  t  e      t  h  e      T  o  o   L  a  r  g  
         140  65 46 69 6C  65 73 20 72  65 70 6F 72  74 2E 0D 0A  20 20 20 20  
         140   e  F  i  l   e  s     r   e  p  o  r   t  .                     
         145  20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20  
         145                                                                   
         150  2D 52 20 73  77 61 70 73  20 74 68 65  20 31 73 74  20 61 6E 64  
         150   -  R     s   w  a  p  s      t  h  e      1  s  t      a  n  d  
         155  20 32 6E 64  20 61 72 67  75 6D 65 6E  74 73 20 6F  66 20 74 68  
         155      2  n  d      a  r  g   u  m  e  n   t  s     o   f     t  h  
         160  65 20 63 6F  6D 6D 61 6E  64 20 6C 69  6E 65 20 66  6F 72 20 61  
         160   e     c  o   m  m  a  n   d     l  i   n  e     f   o  r     a  
         165  20 72 65 76  65 72 73 65  20 63 6F 6D  70 61 72 69  73 6F 6E 2E  
         165      r  e  v   e  r  s  e      c  o  m   p  a  r  i   s  o  n  .  
         170  0D 0A 20 20  20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20  
         170                                                                   
         175  20 20 20 20  20 20 2F 73  71 75 6F 7A  65 20 63 68  61 6E 67 65  
         175                      /  s   q  u  o  z   e     c  h   a  n  g  e  
         180  73 20 69 6E  70 75 74 20  6C 69 6E 65  73 20 73 75  63 68 20 74  
         180   s     i  n   p  u  t      l  i  n  e   s     s  u   c  h     t  
         185  68 61 74 20  74 68 65 20  73 70 61 63  65 20 61 6E  64 20 74 61  
         185   h  a  t      t  h  e      s  p  a  c   e     a  n   d     t  a  
         190  62 20 63 68  61 72 61 63  74 65 72 73  20 62 65 63  6F 6D 65 20  
         190   b     c  h   a  r  a  c   t  e  r  s      b  e  c   o  m  e     
         195  61 20 73 69  6E 67 6C 65  20 73 70 61  63 65 20 63  68 61 72 61  
         195   a     s  i   n  g  l  e      s  p  a   c  e     c   h  a  r  a  
         200  63 74 65 72  2E 0D 0A 
         200   c  t  e  r   .       
    
    
    0 comments No comments

  2. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2023-06-05T06:47:28.8966667+00:00

    Hi,

    I suggest you Save as- Save as type: Web Page(*.htm, *.html)- select Tools- Web options- Encoding- select Unicode (UTF-8):

    User's image

    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.