Since the F1, etc., keys still work, your input preferences may be corrupted. Open International in the System preferences, uncheck the one you are using (like 'British' if that is what you are using), check another one (any one, maybe US English), then uncheck the latter and re-check British.