Secondary symbol problem on keyboard

When I want to write the ’ symbol (shift+1) on Hungarian (102 buttons) instead of that the symbol « appears in Libre Office Writer. The problem occurs only on the text fields of the office with both of the shifts, but not in any other windows of the program (i.e.: searching, creating hyperlink, etc.). The problem does not occur in Linux or any other programs or enviroment.

Where can I customize or change the preferences of the buttoms?

Thanks!

If the problem is not an OS issue and is only in LibreOffice Writer, then use substitution under Tools > Auto Correct > Auto Correct Options. In the Replace tab, type the key you want to replace, then in the ‘with’ field paste in the character from your character map software that you want to appear instead.