Rev 5712 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5712 | Rev 5718 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | { |
62 | { |
63 | int start_x, start_y, line_length, stolbec_len, magrin_left=5; |
63 | int start_x, start_y, line_length, stolbec_len, magrin_left=5; |
Line 64... | Line 64... | ||
64 | 64 | ||
65 | if (!header) |
65 | if (!header) |
- | 66 | { |
|
66 | { |
67 | ChangeCharset("UTF-8", "CP866", #line); |
67 | strcpy(#header, #line); |
68 | strcpy(#header, #line); |
68 | strcat(#header, " -"); |
69 | strcat(#header, " -"); |
69 | strcat(#header, #version); |
70 | strcat(#header, #version); |
70 | line = 0; |
71 | line = 0; |
Line 583... | Line 584... | ||
583 | } |
584 | } |
584 | else |
585 | else |
585 | { |
586 | { |
586 | strcpy(bufpointer, o_bufpointer); |
587 | strcpy(bufpointer, o_bufpointer); |
587 | } |
588 | } |
- | 589 | if (set_new_encoding == CH_CP1251) |
|
- | 590 | { |
|
588 | //bufpointer = ChangeCharset(charsets[set_new_encoding], "CP866", bufpointer); |
591 | bufpointer = ChangeCharset("CP1251", "UTF-8", bufpointer); |
- | 592 | } |
|
589 | } |
593 | } |
Line 590... | Line 594... | ||
590 | 594 | ||
591 | 595 |