Support for unicode error message for the ERROR_HANDLER.as_string_representation: STRING_32
and as well for debug_output, this avoid unecessary unicode string truncation.
This commit is contained in:
@@ -54,9 +54,9 @@ feature -- String representation
|
||||
|
||||
feature -- Status report
|
||||
|
||||
debug_output: STRING
|
||||
debug_output: STRING_32
|
||||
do
|
||||
Result := string_representation.as_string_8
|
||||
Result := string_representation
|
||||
end
|
||||
|
||||
feature -- Change
|
||||
@@ -80,7 +80,7 @@ invariant
|
||||
name_attached: name /= Void
|
||||
|
||||
note
|
||||
copyright: "2011-2012, Eiffel Software and others"
|
||||
copyright: "2011-2014, Jocelyn Fiat, Eiffel Software and others"
|
||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||
source: "[
|
||||
Eiffel Software
|
||||
|
||||
@@ -260,7 +260,7 @@ feature -- Access
|
||||
has_error_implies_result_attached: has_error implies Result /= Void
|
||||
end
|
||||
|
||||
as_string_representation: STRING
|
||||
as_string_representation: STRING_32
|
||||
-- String representation of all error(s).
|
||||
require
|
||||
has_error
|
||||
@@ -269,7 +269,7 @@ feature -- Access
|
||||
Result := e.string_representation
|
||||
else
|
||||
check has_error: False end
|
||||
Result := "Error occured"
|
||||
Result := {STRING_32} "Error occured"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user