You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, the problem only affects comments (i.e. visual representation of the special chars hex values), but in some places this might have affected character constants in assignment expressions — which could break the actual Hugo functions dealing with charset conversions, or wrongly represent some chars.
In some cases, I've managed to fix some of the more obvious characters by comparing the original sources from Hugo SVN repository; but some files look broken there also.
Some of these characters are shown in the editor as hex entities, for they are not valid UTF-8 chars. I've tried switching encoding in the editor, in places where I knew which character to expect, but I couldn't work out which might have been the original encoding used.
Here's a list of affected files (possibly, incomplete):
Some special characters in source files seem to have gone corrupted due to different character encodings.
hemisc.c
— Fix broken chars (inside comments only)iotest.c
— Fix broken chars (inside comments only)textfont.h
— (corrupted char constants):In some cases, the problem only affects comments (i.e. visual representation of the special chars hex values), but in some places this might have affected character constants in assignment expressions — which could break the actual Hugo functions dealing with charset conversions, or wrongly represent some chars.
In some cases, I've managed to fix some of the more obvious characters by comparing the original sources from Hugo SVN repository; but some files look broken there also.
Some of these characters are shown in the editor as hex entities, for they are not valid UTF-8 chars. I've tried switching encoding in the editor, in places where I knew which character to expect, but I couldn't work out which might have been the original encoding used.
Here's a list of affected files (possibly, incomplete):
In files
hemisc.c
andtextfont.h
the problem merely affects the characters previews inside comments:Example from hemisc.c:
Example from textfont.h:
As for
iotest.c
there, might be real problems due to char constants which might be corrupted by UTF-8 conversion:These issues need to be addressed.
The text was updated successfully, but these errors were encountered: